/hphp/test/zend/bad/ext/standard/tests/array/array_unshift.php
PHP | 13 lines | 11 code | 2 blank | 0 comment | 0 complexity | 746b70277969e8d993b6f2bb866aadbc MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- $a = array();
- $s = "";
- var_dump(array_unshift($a, $s));
- var_dump($a);
- var_dump(array_unshift($s, $a));
- var_dump($a);
- var_dump(array_unshift($a, $a));
- var_dump($a);
- echo "Done\n";
- ?>