update,
This commit is contained in:
23
_resources/it114105/itp4513/Lab01/Lab01_Task4.php
Normal file
23
_resources/it114105/itp4513/Lab01/Lab01_Task4.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<!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>
|
Reference in New Issue
Block a user