Files
004_comission/_resources/it114105/itp4513/Lab01/Lab01_Task4.php
louiscklaw 6c60a73f30 update,
2025-01-31 19:15:17 +08:00

23 lines
481 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lab01 Task4</title>
</head>
<body>
<?php
$a = 100;
$x = $a++;
echo "a: " . $a . "<br />";
echo "x: " . $x . "<br />";
$x = ++$a;
echo "a: " . $a . "<br />";
echo "x: " . $x . "<br />";
?>
</body>
</html>