3v4l.org

run code in 300+ PHP versions simultaneously
<?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);
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.5.38, 5.6.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 []

preferences:
197.34 ms | 1396 KiB | 73 Q