3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo json_encode($requestData = [ "accountEnabled" => true, "creationType" => "LocalAccount", "displayName" => "Pawel Radzikowski", "passwordProfile" => [ "password" => "S3cr3TP@ssw0rd", "forceChangePasswordNextLogin" => false ], "signInNames" => [ [ "type" => "emailAddress", "value" => "pawel.radzikowski@orba.co" ] ], "userPrincipalName" => "DG2736", 'givenName' => "Pawel", 'surname' => "Radzikowski" ]);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
{"accountEnabled":true,"creationType":"LocalAccount","displayName":"Pawel Radzikowski","passwordProfile":{"password":"S3cr3TP@ssw0rd","forceChangePasswordNextLogin":false},"signInNames":[{"type":"emailAddress","value":"pawel.radzikowski@orba.co"}],"userPrincipalName":"DG2736","givenName":"Pawel","surname":"Radzikowski"}