3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $a = "abcdefffefa"; for($i = 0; $i < 30; $i++) $a = $a . $a; $b = "afe"; print(str_replace(array_unique(str_split($b)), "", $a));
based on PViu1
Output for 5.2.0 - 7.1.7

Process exited with code 255.
Output for 4.3.0 - 5.1.6

Process exited with code 137.