3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $l = ' return isset($this->actions[0]) && class_exists( $this->actions[0] . "Controller" ) ? true : false;'; preg_replace('class_exists\((.*)\)', 'class_exists(\Mastershop\Core\getNamespace(', $l); echo $l;
Output for 7.0.20
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/bA264 on line 3 return isset($this->actions[0]) && class_exists( $this->actions[0] . "Controller" ) ? true : false;