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