php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/tests/lang/ |
files >> //opt/php-7.0.1/tests/lang/passByReference_012.phpt |
--TEST-- Test pass by reference semantics --FILE-- <?php error_reporting(E_ALL | E_STRICT | E_NOTICE); // Simplified array_shift_variation5.phpt // Showing warning: // "Only variables should be passed by reference in %s on line %d" $stack = array ( array ( 'two' )); var_dump(array_shift(array_shift($stack))); // This should show the identical warning $original = array ( array ( 'one' )); $stack = $original; var_dump(array_shift(array_shift($stack))); ?> ===DONE=== --EXPECTF-- Notice: Only variables should be passed by reference in %s on line %d string(3) "two" Notice: Only variables should be passed by reference in %s on line %d string(3) "one" ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`