编辑代码

<?php 
//JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 

/*
for ($i=1; $i<=5; $i++)
{
    echo $i . PHP_EOL;
}
for ($temp=1; $temp<=5; $temp++)
{
    echo $barcode . PHP_EOL;
    $barcode += 1;
}
*/




$barcode = 1000001; // += 1
$unmber = 20181501;//number += 1    class += 100
for ($class=1; $class<=8; $class++){
    for ($student=1; $student<=40; $student++){
        echo "学号". $unmber . "借的书籍为:". PHP_EOL;
        for ($temp=0; $temp<5; $temp++)
        {
            echo $barcode . PHP_EOL;
            $barcode += 1;
        }
        $unmber += 1;
    }
    $unmber += 60;
}

/*

for($temp = 0; $temp < 5; $temp++){
    echo "$barcode";
    $barcode += 1;
}

*/



?>