3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $limit = 8345; $string = 'a'; for ( $i = 0; $i <= $limit; $i++ ) { $string .= 'a'; } echo strlen($string)."\n"; $str2=preg_replace('#(?<name>.)*#', '', $string); echo 'done';
based on cJ4Pa