3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ['M-am întîlnit ieri cu','fosta mea profă de matematică']; $encoded = json_encode($array); echo "Encoded:\n" . $encoded . "\n\n"; print_r(json_decode($encoded, true));
Output for git.master, git.master_jit, rfc.property-hooks
Encoded: ["M-am \u00eent\u00eelnit ieri cu","fosta mea prof\u0103 de matematic\u0103"] Array ( [0] => M-am întîlnit ieri cu [1] => fosta mea profă de matematică )

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:
23.33 ms | 405 KiB | 5 Q