3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = "tradala"; $b[0] = "mad"; $b[1] = "muha"; echo $b; echo "\n"; $c = ""; $c[0] = "mad"; $c[1] = "muha"; print_r($c);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Only the first byte will be assigned to the string offset in /in/jpZRu on line 4 Warning: Only the first byte will be assigned to the string offset in /in/jpZRu on line 5 mmadala Warning: Only the first byte will be assigned to the string offset in /in/jpZRu on line 13 Warning: Only the first byte will be assigned to the string offset in /in/jpZRu on line 14 mm

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:
55.61 ms | 402 KiB | 8 Q