1--TEST--
2Test explode() function : usage variations - when $string length is greater than
3EXPLODE_ALLOC_STEP (64) and the $limit is negative
4--CREDITS--
5edgarsandi - <edgar.r.sandi@gmail.com>
6--FILE--
7<?php
8
9/* Prototype  : array explode  ( string $delimiter  , string $string  [, int $limit  ] )
10 * Description: Split a string by string.
11 * Source code: ext/standard/string.c
12*/
13
14var_dump(count(explode('|', implode('|', range(1,65)), -1)));
15
16?>
17--EXPECT--
18int(64)
19