/hphp/test/slow/string_length_overflow/implode.php

http://github.com/facebook/hiphop-php · PHP · 9 lines · 7 code · 2 blank · 0 comment · 0 complexity · 26fdec71b6e3e856ce99b22d2b5f7376 MD5 · raw file

  1. <?hh
  2. <<__EntryPoint>>
  3. function main_implode() {
  4. $stringLarge = str_repeat('*', 300289);
  5. $arrayLarge = array_fill(0, 49981, '*');
  6. $string_implode_2 = implode($stringLarge, $arrayLarge);
  7. }