3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string1 = 'abcdefghijklmonpqrst'; for($i = 1; $i <= 2000000; $i++) { $x=$i * 5; $x=$x + $x; $x=$x/10; $string3 = $string1 . strrev($string1); $string2 = substr($string1, 20, 1) . substr($string1, 0, 20); $string1 = $string2; } ?>
Output for 4.3.0 - 7.1.0