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 oTnrX
Output for 7.2.0
Warning: Use of undefined constant job_id - assumed 'job_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 7 Warning: Illegal offset type in /in/rovnT on line 7 Warning: Use of undefined constant signers_id - assumed 'signers_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 8 Warning: Illegal offset type in /in/rovnT on line 8 Warning: Use of undefined constant s_last_name - assumed 's_last_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 9 Warning: Use of undefined constant Tesarski - assumed 'Tesarski' (this will throw an Error in a future version of PHP) in /in/rovnT on line 9 Warning: Illegal offset type in /in/rovnT on line 9 Warning: Use of undefined constant s_first_name - assumed 's_first_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 10 Warning: Use of undefined constant Karolina - assumed 'Karolina' (this will throw an Error in a future version of PHP) in /in/rovnT on line 10 Warning: Illegal offset type in /in/rovnT on line 10 Warning: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 11 Warning: Illegal offset type in /in/rovnT on line 11 Warning: Use of undefined constant comp_name - assumed 'comp_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 12 Warning: Use of undefined constant Qart - assumed 'Qart' (this will throw an Error in a future version of PHP) in /in/rovnT on line 12 Warning: Illegal offset type in /in/rovnT on line 12 Warning: Illegal offset type in /in/rovnT on line 12 Warning: Use of undefined constant job_id - assumed 'job_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 17 Warning: Illegal offset type in /in/rovnT on line 17 Warning: Use of undefined constant signers_id - assumed 'signers_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 18 Warning: Illegal offset type in /in/rovnT on line 18 Warning: Use of undefined constant s_last_name - assumed 's_last_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 19 Warning: Use of undefined constant McLeary - assumed 'McLeary' (this will throw an Error in a future version of PHP) in /in/rovnT on line 19 Warning: Illegal offset type in /in/rovnT on line 19 Warning: Use of undefined constant s_first_name - assumed 's_first_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 20 Warning: Use of undefined constant Eon - assumed 'Eon' (this will throw an Error in a future version of PHP) in /in/rovnT on line 20 Warning: Illegal offset type in /in/rovnT on line 20 Warning: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 21 Warning: Illegal offset type in /in/rovnT on line 21 Warning: Use of undefined constant comp_name - assumed 'comp_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 22 Warning: Use of undefined constant REI - assumed 'REI' (this will throw an Error in a future version of PHP) in /in/rovnT on line 22 Warning: Illegal offset type in /in/rovnT on line 22 Warning: Illegal offset type in /in/rovnT on line 22 Warning: Use of undefined constant job_id - assumed 'job_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 27 Warning: Illegal offset type in /in/rovnT on line 27 Warning: Use of undefined constant signers_id - assumed 'signers_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 28 Warning: Illegal offset type in /in/rovnT on line 28 Warning: Use of undefined constant s_last_name - assumed 's_last_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 29 Warning: Use of undefined constant McLeary - assumed 'McLeary' (this will throw an Error in a future version of PHP) in /in/rovnT on line 29 Warning: Illegal offset type in /in/rovnT on line 29 Warning: Use of undefined constant s_first_name - assumed 's_first_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 30 Warning: Use of undefined constant James - assumed 'James' (this will throw an Error in a future version of PHP) in /in/rovnT on line 30 Warning: Illegal offset type in /in/rovnT on line 30 Warning: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 31 Warning: Illegal offset type in /in/rovnT on line 31 Warning: Use of undefined constant comp_name - assumed 'comp_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 32 Warning: Use of undefined constant REI - assumed 'REI' (this will throw an Error in a future version of PHP) in /in/rovnT on line 32 Warning: Illegal offset type in /in/rovnT on line 32 Warning: Illegal offset type in /in/rovnT on line 32 Warning: Use of undefined constant job_id - assumed 'job_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 37 Warning: Illegal offset type in /in/rovnT on line 37 Warning: Use of undefined constant signers_id - assumed 'signers_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 38 Warning: Illegal offset type in /in/rovnT on line 38 Warning: Use of undefined constant s_last_name - assumed 's_last_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 39 Warning: Use of undefined constant Hally - assumed 'Hally' (this will throw an Error in a future version of PHP) in /in/rovnT on line 39 Warning: Illegal offset type in /in/rovnT on line 39 Warning: Use of undefined constant s_first_name - assumed 's_first_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 40 Warning: Use of undefined constant Marvin - assumed 'Marvin' (this will throw an Error in a future version of PHP) in /in/rovnT on line 40 Warning: Illegal offset type in /in/rovnT on line 40 Warning: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' (this will throw an Error in a future version of PHP) in /in/rovnT on line 41 Warning: Illegal offset type in /in/rovnT on line 41 Warning: Use of undefined constant comp_name - assumed 'comp_name' (this will throw an Error in a future version of PHP) in /in/rovnT on line 42 Warning: Use of undefined constant Starbucks - assumed 'Starbucks' (this will throw an Error in a future version of PHP) in /in/rovnT on line 42 Warning: Illegal offset type in /in/rovnT on line 42 Warning: Illegal offset type in /in/rovnT on line 42 Notice: Undefined offset: 3 in /in/rovnT on line 46
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 7 Warning: Illegal offset type in /in/rovnT on line 7 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 8 Warning: Illegal offset type in /in/rovnT on line 8 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 9 Notice: Use of undefined constant Tesarski - assumed 'Tesarski' in /in/rovnT on line 9 Warning: Illegal offset type in /in/rovnT on line 9 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 10 Notice: Use of undefined constant Karolina - assumed 'Karolina' in /in/rovnT on line 10 Warning: Illegal offset type in /in/rovnT on line 10 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 11 Warning: Illegal offset type in /in/rovnT on line 11 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 12 Notice: Use of undefined constant Qart - assumed 'Qart' in /in/rovnT on line 12 Warning: Illegal offset type in /in/rovnT on line 12 Warning: Illegal offset type in /in/rovnT on line 12 Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 17 Warning: Illegal offset type in /in/rovnT on line 17 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 18 Warning: Illegal offset type in /in/rovnT on line 18 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 19 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/rovnT on line 19 Warning: Illegal offset type in /in/rovnT on line 19 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 20 Notice: Use of undefined constant Eon - assumed 'Eon' in /in/rovnT on line 20 Warning: Illegal offset type in /in/rovnT on line 20 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 21 Warning: Illegal offset type in /in/rovnT on line 21 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 22 Notice: Use of undefined constant REI - assumed 'REI' in /in/rovnT on line 22 Warning: Illegal offset type in /in/rovnT on line 22 Warning: Illegal offset type in /in/rovnT on line 22 Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 27 Warning: Illegal offset type in /in/rovnT on line 27 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 28 Warning: Illegal offset type in /in/rovnT on line 28 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 29 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/rovnT on line 29 Warning: Illegal offset type in /in/rovnT on line 29 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 30 Notice: Use of undefined constant James - assumed 'James' in /in/rovnT on line 30 Warning: Illegal offset type in /in/rovnT on line 30 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 31 Warning: Illegal offset type in /in/rovnT on line 31 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 32 Notice: Use of undefined constant REI - assumed 'REI' in /in/rovnT on line 32 Warning: Illegal offset type in /in/rovnT on line 32 Warning: Illegal offset type in /in/rovnT on line 32 Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 37 Warning: Illegal offset type in /in/rovnT on line 37 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 38 Warning: Illegal offset type in /in/rovnT on line 38 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 39 Notice: Use of undefined constant Hally - assumed 'Hally' in /in/rovnT on line 39 Warning: Illegal offset type in /in/rovnT on line 39 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 40 Notice: Use of undefined constant Marvin - assumed 'Marvin' in /in/rovnT on line 40 Warning: Illegal offset type in /in/rovnT on line 40 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 41 Warning: Illegal offset type in /in/rovnT on line 41 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 42 Notice: Use of undefined constant Starbucks - assumed 'Starbucks' in /in/rovnT on line 42 Warning: Illegal offset type in /in/rovnT on line 42 Warning: Illegal offset type in /in/rovnT on line 42 Notice: Undefined offset: 3 in /in/rovnT on line 46
Output for 5.4.11 - 5.6.21
Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 7 Warning: Illegal offset type in /in/rovnT on line 7 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 8 Warning: Illegal offset type in /in/rovnT on line 8 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 9 Notice: Use of undefined constant Tesarski - assumed 'Tesarski' in /in/rovnT on line 9 Warning: Illegal offset type in /in/rovnT on line 9 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 10 Notice: Use of undefined constant Karolina - assumed 'Karolina' in /in/rovnT on line 10 Warning: Illegal offset type in /in/rovnT on line 10 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 11 Warning: Illegal offset type in /in/rovnT on line 11 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 12 Notice: Use of undefined constant Qart - assumed 'Qart' in /in/rovnT on line 13 Warning: Illegal offset type in /in/rovnT on line 13 Warning: Illegal offset type in /in/rovnT on line 13 Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 17 Warning: Illegal offset type in /in/rovnT on line 17 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 18 Warning: Illegal offset type in /in/rovnT on line 18 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 19 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/rovnT on line 19 Warning: Illegal offset type in /in/rovnT on line 19 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 20 Notice: Use of undefined constant Eon - assumed 'Eon' in /in/rovnT on line 20 Warning: Illegal offset type in /in/rovnT on line 20 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 21 Warning: Illegal offset type in /in/rovnT on line 21 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 22 Notice: Use of undefined constant REI - assumed 'REI' in /in/rovnT on line 23 Warning: Illegal offset type in /in/rovnT on line 23 Warning: Illegal offset type in /in/rovnT on line 23 Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 27 Warning: Illegal offset type in /in/rovnT on line 27 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 28 Warning: Illegal offset type in /in/rovnT on line 28 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 29 Notice: Use of undefined constant McLeary - assumed 'McLeary' in /in/rovnT on line 29 Warning: Illegal offset type in /in/rovnT on line 29 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 30 Notice: Use of undefined constant James - assumed 'James' in /in/rovnT on line 30 Warning: Illegal offset type in /in/rovnT on line 30 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 31 Warning: Illegal offset type in /in/rovnT on line 31 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 32 Notice: Use of undefined constant REI - assumed 'REI' in /in/rovnT on line 33 Warning: Illegal offset type in /in/rovnT on line 33 Warning: Illegal offset type in /in/rovnT on line 33 Notice: Use of undefined constant job_id - assumed 'job_id' in /in/rovnT on line 37 Warning: Illegal offset type in /in/rovnT on line 37 Notice: Use of undefined constant signers_id - assumed 'signers_id' in /in/rovnT on line 38 Warning: Illegal offset type in /in/rovnT on line 38 Notice: Use of undefined constant s_last_name - assumed 's_last_name' in /in/rovnT on line 39 Notice: Use of undefined constant Hally - assumed 'Hally' in /in/rovnT on line 39 Warning: Illegal offset type in /in/rovnT on line 39 Notice: Use of undefined constant s_first_name - assumed 's_first_name' in /in/rovnT on line 40 Notice: Use of undefined constant Marvin - assumed 'Marvin' in /in/rovnT on line 40 Warning: Illegal offset type in /in/rovnT on line 40 Notice: Use of undefined constant fk_comp_id - assumed 'fk_comp_id' in /in/rovnT on line 41 Warning: Illegal offset type in /in/rovnT on line 41 Notice: Use of undefined constant comp_name - assumed 'comp_name' in /in/rovnT on line 42 Notice: Use of undefined constant Starbucks - assumed 'Starbucks' in /in/rovnT on line 43 Warning: Illegal offset type in /in/rovnT on line 43 Warning: Illegal offset type in /in/rovnT on line 45 Notice: Undefined offset: 3 in /in/rovnT on line 46
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/rovnT on line 5
Process exited with code 255.