3v4l.org

run code in 500+ PHP versions simultaneously
<?php $spare = explode('-', '60-5000',2); print_r($spare); echo("No problems until now\n"); echo("=====================\n"); $parts = explode('-', '600', 2); echo("This is where the notice is generated:\n"); echo($parts[1]);
Output for rfc.property-hooks, git.master, git.master_jit
Array ( [0] => 60 [1] => 5000 ) No problems until now ===================== This is where the notice is generated: Warning: Undefined array key 1 in /in/LTr03 on line 10

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.01 ms | 1478 KiB | 4 Q