3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $methods = array(); $methods['display_sanitized'] = 'DisplaySanitized'; $methods[''] = 'Default'; $methods['display'] = 'Display'; var_dump($methods);
Output for 4.3.0 - 7.1.0
array(3) { ["display_sanitized"]=> string(16) "DisplaySanitized" [""]=> string(7) "Default" ["display"]=> string(7) "Display" }