3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $constants = get_defined_constants(); print_r(array_intersect_key($constants, array_flip(preg_grep('/^P(?:REG|CRE)_/', array_keys($constants)))));
based on GHPeT