3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [ ['default_config'] => [ ['influence_rate_limiting'] => false, ['observe_rate_limiting'] => false, ], ['push_array'] => [ [ ['target'] => [ ['user_id'] => 'zrUGzotNFz0' ], ['notification'] => [ ['alert'] => 'hola que tal', ['sound'] => 'levelup.caf', ] ] ] ]; echo json_encode($a);
based on SMOI8
Output for 7.0.0 - 7.0.1
Fatal error: Illegal offset type in /in/AEVBJ on line 9
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Warning: Illegal offset type in /in/AEVBJ on line 7 Warning: Illegal offset type in /in/AEVBJ on line 8 Warning: Illegal offset type in /in/AEVBJ on line 9 Warning: Illegal offset type in /in/AEVBJ on line 16 Warning: Illegal offset type in /in/AEVBJ on line 16 Warning: Illegal offset type in /in/AEVBJ on line 20 Warning: Illegal offset type in /in/AEVBJ on line 21 Warning: Illegal offset type in /in/AEVBJ on line 23 Warning: Illegal offset type in /in/AEVBJ on line 25 []