3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo json_encode(array( 'email' => 'test@test'.md5(microtime().rand(1, 1000)).'.com', 'plainPassword' => array( 'first' => 'password', 'second' => 'password', ), 'firstname' => 'firstname', 'lastname' => 'lastname', 'dob' => '2013-02-03', 'gender' => 'male', );
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/jtVbe on line 12
Process exited with code 255.
Output for 5.3.21 - 5.6.17
Parse error: syntax error, unexpected ';' in /in/jtVbe on line 12
Process exited with code 255.