3v4l.org

run code in 300+ PHP versions simultaneously
<?php $products = (object)array('Muziek' => 'Brahms', 'DVD' => 'Rambo', 'Blueray' => 'Mozart'); //echo $products->Muziek; // Brahms // alle items echoen foreach ($product as $key => $value){ echo 'The value of '.$key.' is '.$value.'<br />'; // The value of Muziek is Brahms, etc }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $product in /in/B7Nuc on line 6 Warning: foreach() argument must be of type array|object, null given in /in/B7Nuc on line 6

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