3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $simpleClass = preg_replace('', '$2', $fullClass);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: fullClass in /in/6ONpU on line 2 Warning: preg_replace(): Empty regular expression in /in/6ONpU on line 2
Output for 4.3.11 - 5.0.3
Notice: Undefined variable: fullClass in /in/6ONpU on line 2 Warning: preg_replace(): Empty regular expression in /in/6ONpU on line 2
Output for 4.3.0 - 4.3.10
Notice: Undefined variable: fullClass in /in/6ONpU on line 2 Warning: Empty regular expression in /in/6ONpU on line 2