3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ "customer" => [ "id" => $expectedOriginId = 1, "email" => $expectedEmail = "john.doesdfsdf@example.com", "profile_type" => $expectedProfileTypeId = "c", "register_type" => $expectedRegisterTypeId = "r", "gender" => $expectedGenderId = "male", "birthday" => $expectedBirthday = "1980-04-15", "registration_date" => $expectedRegistrationDate = "2013-07-31T16:59:43+1000", "last_session" => $expectedLastSession = "2013-07-31T17:09:39+1000" ] ]; var_dump( json_encode($a) );
Output for git.master, git.master_jit, rfc.property-hooks
string(226) "{"customer":{"id":1,"email":"john.doesdfsdf@example.com","profile_type":"c","register_type":"r","gender":"male","birthday":"1980-04-15","registration_date":"2013-07-31T16:59:43+1000","last_session":"2013-07-31T17:09:39+1000"}}"

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:
44.28 ms | 401 KiB | 8 Q