3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vendorsList= array(); $key ="Star war"; $vendorsList[$key]="1"; $key1 ="Star war"; if(true === array_key_exists($key1,$vendorsList)){ $key1 = $key1." "; } $vendorsList[$key1]="2"; print_r($vendorsList);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [Star war] => 1 [Star war ] => 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:
20.45 ms | 401 KiB | 8 Q