3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prop = array("Santa Clara" => 100, "San Pedro de Alcántara" => 200, "Nagüeles" =>300, "Torremolinos" => 400); foreach($prop as $key => $val){ if (!array_key_exists("Torremolinos",$prop)){ continue; } else{ echo 'key='.$key.' '.'val='.$val; } } /* if ((array_key_exists("Santa Clara",$prop) && array_key_exists("San Pedro de Alcántara",$prop)) ) { echo "Array Key exists...". $prop["Nagüeles"]; } else { echo "Array Key does not exist..."; } */
Output for git.master, git.master_jit, rfc.property-hooks
key=Santa Clara val=100key=San Pedro de Alcántara val=200key=Nagüeles val=300key=Torremolinos val=400

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