PageRenderTime 35ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/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
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
  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. }