3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"0":1576,"1":1556,"2":1579,"3":1541,"4":1578,"5":1559,"6":1558,"7":1548,"8":1654,"9":1653,"10":1510,"11":1674}'; $ids = json_decode($json, true); foreach($ids as $value) { echo $value.PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
1576 1556 1579 1541 1578 1559 1558 1548 1654 1653 1510 1674

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