3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = Array ( [0] => Array ( 'job_id' => 77, 'signers_id' => 2, 's_last_name' => 'Tesarski', 's_first_name' => 'Karolina', 'fk_comp_id' => 2, 'comp_name' => 'Qart' ), [1] => Array ( 'job_id' => 83, 'signers_id' => 1, 's_last_name' => 'McLeary', 's_first_name' => 'Eon', 'fk_comp_id' => 3, 'comp_name' => 'REI' ), [2] => Array ( 'job_id' => 83, 'signers_id' => 4, 's_last_name' => 'McLeary', 's_first_name' => 'James', 'fk_comp_id' => 3, 'comp_name' => 'REI' ), [3] => Array ( 'job_id' => 84, 'signers_id' => 3, 's_last_name' => 'Hally', 's_first_name' => 'Marvin', 'fk_comp_id' => 4, 'comp_name' => 'Starbucks' ) ); echo $array[3]['job_id'];
based on tRTWb
Output for 7.0.0 - 7.0.1
Fatal error: Illegal offset type in /in/4akrE on line 13
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Warning: Illegal offset type in /in/4akrE on line 13 Warning: Illegal offset type in /in/4akrE on line 23 Warning: Illegal offset type in /in/4akrE on line 33 Warning: Illegal offset type in /in/4akrE on line 45 Notice: Undefined offset: 3 in /in/4akrE on line 46
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/4akrE on line 5
Process exited with code 255.