3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function CE50($CEINPUT) { $CE50 = $CEINPUT; $CE50 = str_replace("a", ")`", $CE50); $CE50 = str_replace("b", "(~", $CE50); $CE50 = str_replace("c", "*`", $CE50); $CE50 = str_replace("d", "&~", $CE50); $CE50 = strrev(substr($CE50, 0, 50)); return $CE50; } echo CE50("abccbaaabc"); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
`*~(`)`)`)~(`*`*~(`)
Output for hhvm-3.10.0

Process exited with code 153.