search

Home  >  Q&A  >  body text

Can't display running results

Why can’t the running results be displayed?

<?php

$x = 75;

$y = 25;

function addition()

{

$GLOBALS['z'] = $GLOBALS['x'] $GLOBALS['y'];

}

addition();

echo $z;

?>


##

随缘随缘2044 days ago1125

reply all(1)I'll reply

  • 步履不停

    步履不停2019-06-19 11:09:54

    Snipaste_2019-06-19_11-08-58.png

    There is no problem with the code. It is recommended to post the error message.

    $zThe output result is 100

    reply
    0
  • Cancelreply