3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $array = array( "action" => "\"foo\"", "class" => "\"bar\"" ); print_r($array); $clean = array_map(function($item) { return str_replace("\"", "", $item); );
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ')' in /in/hQlCA on line 14
Process exited with code 255.