3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array('name' => 'Надя', 'thief' => false), array('name' => 'Даша', 'thief' => false), array('name' => 'Алла', 'thief' => true), ); $arrayWithKeys = array( 0 => array('name' => 'Надя', 'thief' => false), 1=> array('name' => 'Даша', 'thief' => false), 2=> array('name' => 'Алла', 'thief' => true), ); echo json_encode($array);
Output for git.master, git.master_jit, rfc.property-hooks
[{"name":"\u041d\u0430\u0434\u044f","thief":false},{"name":"\u0414\u0430\u0448\u0430","thief":false},{"name":"\u0410\u043b\u043b\u0430","thief":true}]

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