3v4l.org

run code in 300+ PHP versions simultaneously
<?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'];
Output for git.master, git.master_jit
Fatal error: Uncaught TypeError: Illegal offset type in /in/o9bEO:7 Stack trace: #0 {main} thrown in /in/o9bEO on line 7
Process exited with code 255.
Output for rfc.property-hooks
Fatal error: Uncaught TypeError: Cannot access offset of type array on array in /in/o9bEO:7 Stack trace: #0 {main} thrown in /in/o9bEO on line 7
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
55.55 ms | 401 KiB | 8 Q