3v4l.org

run code in 300+ PHP versions simultaneously
<pre><?php $x = [ 'email' => 'test@esky.pl', 'list_id' => 100, 'additional' => 'pipe=separated|additional=values|system=iOS|system version=10.0 RC' ]; print_r(json_encode($x,JSON_PRETTY_PRINT)); $x = [ 'email' => 'test@esky.pl', 'id' => 100, 'additional_data' => [ 'system' => 'iOS', 'system version' => '10.0 RC' ]]; print_r(json_encode($x,JSON_PRETTY_PRINT));
Output for git.master, git.master_jit, rfc.property-hooks
<pre>{ "email": "test@esky.pl", "list_id": 100, "additional": "pipe=separated|additional=values|system=iOS|system version=10.0 RC" }{ "email": "test@esky.pl", "id": 100, "additional_data": { "system": "iOS", "system version": "10.0 RC" } }

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