第6章章末問題

function refCheck(&$num) {
    print $num.'
'; //(1) 1 $num++; unset($num); var_dump($num); //(2) NULL print "
"; } $num = 1; refCheck($num); print $num; //(3) 2
TEST結果:
1
NULL
2

コメント欄

Name:

Comment:

id name comment created
1 kaku test 2016-09-14 11:23:30

TOP