/hphp/test/slow/string_length_overflow/implode.php
PHP | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | 26fdec71b6e3e856ce99b22d2b5f7376 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- <<__EntryPoint>>
- function main_implode() {
- $stringLarge = str_repeat('*', 300289);
- $arrayLarge = array_fill(0, 49981, '*');
- $string_implode_2 = implode($stringLarge, $arrayLarge);
- }