3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $class = "RevisionToVersion"; $class = preg_replace("~([A-Z])~", "_$1", $class); var_dump(strtolower("pm{$class}"));
based on jYJhp
Output for 5.5.0 - 7.3.0rc4
string(22) "pm_revision_to_version"