3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function mediaapi_filter_underscoretocamelcase($string) { $string = explode('_', $string); array_walk(&$string, function ($item) { $item = ucfirst($item); }); return implode('', $string); } echo mediaapi_filter_underscoretocamelcase('franz_deleon');
Output for 5.4.0 - 5.4.24
Fatal error: Call-time pass-by-reference has been removed in /in/DtXPA on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/DtXPA on line 6 franzdeleon