3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = json_decode( '{"admin":{"author_id":1,"author_login":"admin","author_email":"info@8guild.com","author_display_name":"Penny","author_first_name":"","author_last_name":""}}', true ); $b = array_shift( array_keys( $a) ); var_dump( $b );
based on j5Y5o
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/QSbk9 on line 4 string(5) "admin"
Output for 5.3.18 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/QSbk9 on line 4 string(5) "admin"