Arquivos
hhvm/hphp/test/slow/max_int/array_splice.php
T
Sean Cannella 333f0a76f4 Fix a zend compat issue in array_slice
- Fix the behavior of array_slice when using PHP_INT_MAX
2013-06-12 11:34:37 -07:00

4 linhas
71 B
PHP

<?php
$a = array(1, 2, 3);
var_dump(array_splice($a, 0, PHP_INT_MAX));