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 : /usr/local/src/php7/php-7.0.5/Zend/tests/arg_unpack/ |
Current File : //usr/local/src/php7/php-7.0.5/Zend/tests/arg_unpack/string_keys.phpt |
--TEST-- Argument unpacking does not work with string keys (forward compatibility for named args) --FILE-- <?php set_error_handler(function($errno, $errstr) { var_dump($errstr); }); try { var_dump(...[1, 2, "foo" => 3, 4]); } catch (Error $ex) { var_dump($ex->getMessage()); } try { var_dump(...new ArrayIterator([1, 2, "foo" => 3, 4])); } catch (Error $ex) { var_dump($ex->getMessage()); } ?> --EXPECTF-- string(36) "Cannot unpack array with string keys" string(42) "Cannot unpack Traversable with string keys"
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare