Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/bug33257.phpt |
--TEST-- Bug #33257 (array_splice() inconsistent when passed function instead of variable) --INI-- error_reporting=4095 --FILE-- <?php class X { protected static $arr = array("a", "b", "c"); public static function getArr() { return self::$arr; } } //$arr1 = X::getArr(); array_splice(X::getArr(), 1, 1); print_r(X::getArr()); ?> --EXPECTF-- Notice: Only variables should be passed by reference in %sbug33257.php on line 10 Array ( [0] => a [1] => b [2] => c )
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare