- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.20
- Parse error: syntax error, unexpected '=', expecting ',' or ';' in /in/cpZJX on line 5
Process exited with code 255.
vars.php
<?php
$i = 10;
$t = 20;
global $e = 0;
echo "I: $i\n";
echo "T: $t\n";
echo "E: $e\n";
addition();
echo "E: $e\n";
function addition($i, $t)
{
$e = $i+$t;
}
?>