3v4l.org

run code in 300+ PHP versions simultaneously
<?php $students = array( 'John' => array( "unit1" => "76", "unit2" => "62", "unit3" => "56", "unit4" => "60", ), 'Tom' => array( "unit1" => "62", "unit2" => "82", "unit3" => "56", "unit4" => "47", ), 'Jane' => array( "unit1" => "52", "unit2" => "62", "unit3" => "66", "unit4" => "80", ), 'Jess' => array( "unit1" => "72", "unit2" => "52", "unit3" => "72", "unit4" => "65", ), ); function HelloWorld(){ echo "Hello World"; } HelloWorld(); print_r($students);
Output for git.master, git.master_jit, rfc.property-hooks
Hello WorldArray ( [John] => Array ( [unit1] => 76 [unit2] => 62 [unit3] => 56 [unit4] => 60 ) [Tom] => Array ( [unit1] => 62 [unit2] => 82 [unit3] => 56 [unit4] => 47 ) [Jane] => Array ( [unit1] => 52 [unit2] => 62 [unit3] => 66 [unit4] => 80 ) [Jess] => Array ( [unit1] => 72 [unit2] => 52 [unit3] => 72 [unit4] => 65 ) )

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:
56.18 ms | 402 KiB | 8 Q