3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $user_meta = array ( [interest] => array ( [0] => array ) [type] => array ( [0] => array ) [user_status] => array ( [0] => deny) [firstname] => array ( [0] => ) [lastname] => array ( [0] => B ) [email] => email@cc.com ) $user_meta = (object)$user_meta; $names = array_map( function($person) { return $person[0]; }, (array)$user_meta );
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected ')', expecting '(' in /in/g2KAv on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected '[', expecting ')' in /in/g2KAv on line 2
Process exited with code 255.