php-src/ext/standard/tests/strings/explode_bug.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

16 lines
203 B
PHP

--TEST--
Explode/memnstr bug
--INI--
error_reporting=2047
memory_limit=256M
--FILE--
<?php
$res = explode(str_repeat("A",145999999),1);
var_dump($res);
?>
--EXPECT--
array(1) {
[0]=>
string(1) "1"
}