3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo json_encode( [ 'Login' => 'foo', 'Password' => '1', 'Email' => 'foo@bar.com', 'Phone' => '89989898998', 'CompanyName' => 'bar1', 'Address' => array( 'FirstName' => null, 'MiddleName' => null, 'LastName' => null, 'City' => null, 'PostalCode' => null, 'Region' => null, 'AddressLine' => null, 'Language' => 'en', 'Culture' => 'en-US', 'Phone' => null, ), 'DynamicProperties' => array( array( 'Key' => 'lorem', 'Value' => 'ipsum', 'Unit' => null, ), array( 'Key' => 'length', 'Value' => '100', 'Unit' => 'cm', ), ), 'State' => 'Acvvtive', 'Type' => 'Organization', ] , JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) ;
based on QMfPH
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
{ "Login": "foo", "Password": "1", "Email": "foo@bar.com", "Phone": "89989898998", "CompanyName": "bar1", "Address": { "FirstName": null, "MiddleName": null, "LastName": null, "City": null, "PostalCode": null, "Region": null, "AddressLine": null, "Language": "en", "Culture": "en-US", "Phone": null }, "DynamicProperties": [ { "Key": "lorem", "Value": "ipsum", "Unit": null }, { "Key": "length", "Value": "100", "Unit": "cm" } ], "State": "Acvvtive", "Type": "Organization" }