3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $CE50 = ''; function CE50($CE50) { $CE50 = str_replace("a", ")`", $CE50); $CE50 = str_replace("b", "(~", $CS50); $CE50 = str_replace("c", "*`", $CS50); $CE50 = str_replace("d", "&~", $CS50); $CE50 = strrev(substr($CE50, 0, 50)); return $CE50; } echo CE50("abccbaaabc"); ?>
Output for 5.0.4 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: CS50 in /in/RLpVq on line 6 Notice: Undefined variable: CS50 in /in/RLpVq on line 7 Notice: Undefined variable: CS50 in /in/RLpVq on line 8
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: CS50 in /in/RLpVq on line 6 Notice: Undefined variable: CS50 in /in/RLpVq on line 7 Notice: Undefined variable: CS50 in /in/RLpVq on line 8