Why can’t the running results be displayed?
<?php
$x = 75;
$y = 25;
function addition()
{
$GLOBALS['z'] = $GLOBALS['x'] $GLOBALS['y'];
}
addition();
echo $z;
?>
##
There is no problem with the code. It is recommended to post the error message.
$zThe output result is 100
There is no problem with the code. It is recommended to post the error message.
$zThe output result is 100