3v4l.org

run code in 300+ PHP versions simultaneously
<?php $buffer = <<<JSON { "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)
8.3.60.0070.01016.63
8.3.50.0100.00922.05
8.3.40.0110.00418.66
8.3.30.0100.00718.54
8.3.20.0080.00020.18
8.3.10.0050.00323.61
8.3.00.0000.00819.25
8.2.180.0090.01218.41
8.2.170.0070.00722.96
8.2.160.0030.01420.35
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00617.25
8.2.120.0040.00426.35
8.2.110.0080.00321.04
8.2.100.0070.00617.72
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0000.01017.38
8.2.60.0000.00817.80
8.2.50.0040.00718.10
8.2.40.0070.00319.39
8.2.30.0000.00720.73
8.2.20.0030.00617.50
8.2.10.0000.00918.05
8.2.00.0040.00417.95
8.1.280.0030.01225.92
8.1.270.0060.00323.96
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0090.00320.50
8.1.230.0060.00617.76
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.13
8.1.180.0090.00018.10
8.1.170.0040.00418.76
8.1.160.0040.00421.89
8.1.150.0000.00718.77
8.1.140.0030.00619.41
8.1.130.0040.00417.51
8.1.120.0040.00417.48
8.1.110.0030.00317.41
8.1.100.0040.00417.35
8.1.90.0030.00517.29
8.1.80.0060.00317.43
8.1.70.0000.00717.33
8.1.60.0030.00617.58
8.1.50.0090.00017.43
8.1.40.0050.00317.43
8.1.30.0030.00517.60
8.1.20.0000.00817.42
8.1.10.0080.00017.44
8.1.00.0000.00817.42
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0070.00018.26
8.0.270.0070.00017.15
8.0.260.0050.00317.07
8.0.250.0040.00416.87
8.0.240.0030.00616.95
8.0.230.0000.00716.97
8.0.220.0000.00716.80
8.0.210.0000.00716.87
8.0.200.0030.00316.92
8.0.190.0000.00716.94
8.0.180.0040.00416.93
8.0.170.0060.00316.97
8.0.160.0070.00016.80
8.0.150.0000.00716.89
8.0.140.0040.00416.80
8.0.130.0000.00613.31
8.0.120.0080.00016.77
8.0.110.0040.00416.89
8.0.100.0000.00716.89
8.0.90.0020.00516.70
8.0.80.0150.00016.94
8.0.70.0040.00416.91
8.0.60.0040.00416.88
8.0.50.0000.00716.92
8.0.30.0060.01317.14
8.0.20.0130.00817.40
8.0.10.0030.00316.85
8.0.00.0100.00916.57
7.4.330.0000.00616.77
7.4.320.0000.00716.46
7.4.300.0000.00616.59
7.4.290.0030.00316.33
7.4.280.0050.00316.55
7.4.270.0000.00716.34
7.4.260.0050.00216.45
7.4.250.0030.00516.51
7.4.240.0040.00416.55
7.4.230.0000.00716.54
7.4.220.0070.01316.39
7.4.210.0110.00816.38
7.4.200.0000.00716.57
7.4.160.0100.00716.44
7.4.150.0120.00617.40
7.4.140.0090.01517.86
7.4.130.0100.00716.51
7.4.120.0090.01016.45
7.4.110.0090.00916.38
7.4.100.0120.01216.27
7.4.90.0110.00516.48
7.4.80.0120.00519.39
7.4.70.0190.00016.27
7.4.60.0070.01016.22
7.4.50.0080.00816.31
7.4.40.0060.01216.56
7.4.30.0070.01516.45
7.4.00.0060.00614.68
7.3.330.0000.00613.18
7.3.320.0050.00213.11
7.3.310.0030.00316.29
7.3.300.0030.00316.25
7.3.290.0060.00716.18
7.3.280.0070.01116.17
7.3.270.0070.01117.40
7.3.260.0100.00716.32
7.3.250.0120.00816.23
7.3.240.0090.01116.24
7.3.230.0040.01316.39
7.3.210.0040.01316.33
7.3.200.0090.01216.20
7.3.190.0060.01816.34
7.3.180.0100.00516.19
7.3.170.0120.00416.30
7.3.160.0090.00616.45
7.2.330.0130.00716.50
7.2.320.0160.00816.50
7.2.310.0060.01816.60
7.2.300.0110.01116.26
7.2.290.0060.01216.29
7.2.60.0100.00316.45
7.2.00.0000.01319.00
7.1.200.0110.00315.64
7.1.100.0040.00418.03
7.1.70.0070.00316.80
7.1.60.0060.01919.12
7.1.50.0030.00716.66
7.1.00.0030.07722.30
7.0.200.0030.00716.51
7.0.60.0030.04019.90
7.0.50.0030.07017.80
7.0.40.0100.08720.31
7.0.30.0270.07720.02
7.0.20.0400.07020.20
7.0.10.0100.05320.00
7.0.00.0030.06720.33
5.6.280.0000.05321.00
5.6.210.0000.08320.62
5.6.200.0000.07718.22
5.6.190.0100.08720.60
5.6.180.0330.05320.45
5.6.170.0300.06020.52
5.6.160.0100.08020.37
5.6.150.0030.06318.21
5.6.140.0100.07718.21
5.6.130.0030.07018.16
5.6.120.0070.08320.89
5.6.110.0100.08321.10
5.6.100.0070.07020.99
5.6.90.0100.07320.98
5.6.80.0070.08320.48
5.5.350.3400.03320.46
5.5.340.0070.04018.02
5.5.330.0030.08720.21
5.5.320.0070.08020.51
5.5.310.0370.07020.27
5.5.300.0000.05717.98
5.5.290.0070.05317.98
5.5.280.0100.08320.87
5.5.270.0130.07720.83
5.5.260.0030.07020.76
5.5.250.0130.08320.49
5.5.240.0170.04020.16

preferences:
38.28 ms | 401 KiB | 5 Q