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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.6.150.0200.06718.14
5.6.140.0030.05318.21
5.6.130.0070.06318.07
5.6.120.0070.08320.97
5.6.110.0100.08020.89
5.6.100.0130.03320.98
5.6.90.0070.04321.13
5.6.80.0100.08020.40
5.5.300.0030.04317.96
5.5.290.0170.04317.91
5.5.280.0000.04320.65
5.5.270.0030.04720.87
5.5.260.0070.04720.68
5.5.250.0070.08320.78
5.5.240.0200.04320.16

preferences:
142.65 ms | 1394 KiB | 7 Q