3v4l.org

run code in 300+ PHP versions simultaneously
<?php $buffer = <<<JSNO { "format": { "rule": [ "matches", "/^(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\\\d\\\d$/" ], "message": "Applications.submit_birthdate_format" } } JSON; var_dump($buffer, json_decode($buffer), json_last_error(), JSON_ERROR_SYNTAX);
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected end of file in /in/67e4R on line 15
Process exited with code 255.

preferences:
162.77 ms | 1395 KiB | 22 Q