explode_variation7.phpt 293 B

12345678910111213
  1. --TEST--
  2. Test explode() function : usage variations - when $string length is greater than
  3. EXPLODE_ALLOC_STEP (64) and the $limit is negative
  4. --CREDITS--
  5. edgarsandi - <edgar.r.sandi@gmail.com>
  6. --FILE--
  7. <?php
  8. var_dump(count(explode('|', implode('|', range(1,65)), -1)));
  9. ?>
  10. --EXPECT--
  11. int(64)