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 5WdOi
Output for 7.2.0
Warning: Use of undefined constant Tesarski - assumed 'Tesarski' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 9 Warning: Use of undefined constant Karolina - assumed 'Karolina' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 10 Warning: Use of undefined constant Qart - assumed 'Qart' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 12 Warning: Illegal offset type in /in/tRTWb on line 12 Warning: Use of undefined constant McLeary - assumed 'McLeary' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 19 Warning: Use of undefined constant Eon - assumed 'Eon' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 20 Warning: Use of undefined constant REI - assumed 'REI' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 22 Warning: Illegal offset type in /in/tRTWb on line 22 Warning: Use of undefined constant McLeary - assumed 'McLeary' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 29 Warning: Use of undefined constant James - assumed 'James' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 30 Warning: Use of undefined constant REI - assumed 'REI' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 32 Warning: Illegal offset type in /in/tRTWb on line 32 Warning: Use of undefined constant Hally - assumed 'Hally' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 39 Warning: Use of undefined constant Marvin - assumed 'Marvin' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 40 Warning: Use of undefined constant Starbucks - assumed 'Starbucks' (this will throw an Error in a future version of PHP) in /in/tRTWb on line 42 Warning: Illegal offset type in /in/tRTWb on line 42 Notice: Undefined offset: 3 in /in/tRTWb on line 46
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant Tesarski - assumed 'Tesarski' in /in/tRTWb on line 9 Notice: Use of undefined constant Karolina - assumed 'Karolina' in /in/tRTWb on line 10 Notice: Use of undefined constant Qart - assumed 'Qart' in /in/tRTWb on line 12 Warning: Illegal offset type in /in/tRTWb on line 12 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/tRTWb on line 19 Notice: Use of undefined constant Eon - assumed 'Eon' in /in/tRTWb on line 20 Notice: Use of undefined constant REI - assumed 'REI' in /in/tRTWb on line 22 Warning: Illegal offset type in /in/tRTWb on line 22 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/tRTWb on line 29 Notice: Use of undefined constant James - assumed 'James' in /in/tRTWb on line 30 Notice: Use of undefined constant REI - assumed 'REI' in /in/tRTWb on line 32 Warning: Illegal offset type in /in/tRTWb on line 32 Notice: Use of undefined constant Hally - assumed 'Hally' in /in/tRTWb on line 39 Notice: Use of undefined constant Marvin - assumed 'Marvin' in /in/tRTWb on line 40 Notice: Use of undefined constant Starbucks - assumed 'Starbucks' in /in/tRTWb on line 42 Warning: Illegal offset type in /in/tRTWb on line 42 Notice: Undefined offset: 3 in /in/tRTWb on line 46
Output for 5.4.11 - 5.6.28
Notice: Use of undefined constant Tesarski - assumed 'Tesarski' in /in/tRTWb on line 9 Notice: Use of undefined constant Karolina - assumed 'Karolina' in /in/tRTWb on line 10 Notice: Use of undefined constant Qart - assumed 'Qart' in /in/tRTWb on line 13 Warning: Illegal offset type in /in/tRTWb on line 13 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/tRTWb on line 19 Notice: Use of undefined constant Eon - assumed 'Eon' in /in/tRTWb on line 20 Notice: Use of undefined constant REI - assumed 'REI' in /in/tRTWb on line 23 Warning: Illegal offset type in /in/tRTWb on line 23 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/tRTWb on line 29 Notice: Use of undefined constant James - assumed 'James' in /in/tRTWb on line 30 Notice: Use of undefined constant REI - assumed 'REI' in /in/tRTWb on line 33 Warning: Illegal offset type in /in/tRTWb on line 33 Notice: Use of undefined constant Hally - assumed 'Hally' in /in/tRTWb on line 39 Notice: Use of undefined constant Marvin - assumed 'Marvin' in /in/tRTWb on line 40 Notice: Use of undefined constant Starbucks - assumed 'Starbucks' in /in/tRTWb on line 43 Warning: Illegal offset type in /in/tRTWb on line 45 Notice: Undefined offset: 3 in /in/tRTWb on line 46
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/tRTWb on line 5
Process exited with code 255.