3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo json_encode( [ 'Login' => 'bar', 'Password' => '1212312', 'Email' => 'foo@bar.com', 'Phone' => '89989898998', 'CompanyName' => 'bar1', 'Address' => [], 'DynamicProperties' => [], 'State' => 'Active', 'Type' => 'Organization', ], , JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) ;
based on QMfPH
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.6
Parse error: syntax error, unexpected ',' in /in/O9mD4 on line 18
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Syntax only allowed in Hack files (<?hh) or with -v Eval.EnableHipHopSyntax=true in /in/O9mD4:15 Stack trace: #0 {main}
Process exited with code 255.