3v4l.org

run code in 300+ PHP versions simultaneously
<?php $students = array ( array("Students Name" =>"Akash", "Roll No." =>01, "Subject" =>"c++","Gender" =>"male"), array("Students Name" =>"Dinesh", "Roll No." =>02, "Subject" =>"c++","Gender" =>"male"), array("Students Name" =>"Satish", "Roll No." =>03, "Subject" =>"c++","Gender" =>"male"), array("Students Name" =>"Alok", "Roll No." =>04, "Subject" =>"c++","Gender" =>"male"), ); echo '<pre>'; //print_r($students); echo $students[0][1][2][3]["Students Name"]; echo $students[1]["Roll No."];
Output for git.master, git.master_jit
<pre> Warning: Undefined array key 1 in /in/o9Pig on line 10 Warning: Trying to access array offset on value of type null in /in/o9Pig on line 10 Warning: Trying to access array offset on value of type null in /in/o9Pig on line 10 Warning: Trying to access array offset on value of type null in /in/o9Pig on line 10 2
Output for rfc.property-hooks
<pre> Warning: Undefined array key 1 in /in/o9Pig on line 10 Warning: Trying to access array offset on null in /in/o9Pig on line 10 Warning: Trying to access array offset on null in /in/o9Pig on line 10 Warning: Trying to access array offset on null in /in/o9Pig on line 10 2

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:
42.68 ms | 401 KiB | 8 Q