summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/explode_bug.phpt
blob: 22d92ea7f57bdc4f0894086fd2a50c22c786da1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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"
}