3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = microtime(true); for ($i = 0; $i < 1000; $i++) echo strtr('React/Controller/Website/User', '/', '_') . "\n"; printf('%.09f', microtime(true) - $s); echo "\n"; $s = microtime(true); for ($i = 0; $i < 1000; $i++) echo str_replace('/', '_', 'React/Controller/Website/User') . "\n"; printf('%.09f', microtime(true) - $s);