3v4l.org

run code in 300+ PHP versions simultaneously
<?php $students= array ( "Name" => array("akash", "jag", "yasin"), "numbers" => array(1, 2, 3, 4, 5, 6), "holes" => array("first", 5 => "second", "third") ); print_r($students); print_r(remove_elm($student, "Name", "akash")); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [Name] => Array ( [0] => akash [1] => jag [2] => yasin ) [numbers] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 ) [holes] => Array ( [0] => first [5] => second [6] => third ) ) Fatal error: Uncaught Error: Call to undefined function remove_elm() in /in/BGtLS:8 Stack trace: #0 {main} thrown in /in/BGtLS on line 8
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:
49.52 ms | 402 KiB | 8 Q