3v4l.org

run code in 150+ 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 - 5.6.28, 7.0.0 - 7.1.0

Process exited with code 255.
Output for hhvm-3.12.0
mallctl opt.prof: No such file or directory (2) Fatal error: request has exceeded memory limit in /in/7FiEX on line 6
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.1.6

Process exited with code 137.