3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ "address" => [ "id" => 1, "label" => "Main", "first_name" => "John", "last_name" => "Doe", "address_line_1" => "park avenue 123", "address_line_2" => "", "state" => "IL", "city" => "Chicago", "country" => "US", "email" => "john.doe@example.com", "postal_code" => "33305", "phone" => null, "mobile_phone" => "99511223344", "self_address" => true, "address_status" => "P", ] ]; var_dump(json_encode($a));
Output for git.master, git.master_jit, rfc.property-hooks
string(309) "{"address":{"id":1,"label":"Main","first_name":"John","last_name":"Doe","address_line_1":"park avenue 123","address_line_2":"","state":"IL","city":"Chicago","country":"US","email":"john.doe@example.com","postal_code":"33305","phone":null,"mobile_phone":"99511223344","self_address":true,"address_status":"P"}}"

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