Why is the actual output content of the tutorial different from what was expected?
南于
南于 2017-10-23 11:44:21
0
1
802

Capture.PNGCapture2.PNG

南于
南于

reply all(1)
路过

The local test is indeed 15, you can try it locally

<?php

$x=5;

$y=10;

function mytest()

{

global $x,$y;

$y=$x+$y;

}

mytest();

echo $y;


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!