3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert(date('d',strtotime('last day of april')) == "30"); assert(date('d',strtotime('last Day of april')) == "30"); // will raise warning assert(date('d',strtotime('Last Day of april')) == "30");

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.01416.60
8.3.50.0160.00322.93
8.3.40.0180.00018.79
8.3.30.0070.00718.97
8.3.20.0000.00820.21
8.3.10.0080.00023.61
8.3.00.0030.00619.50
8.2.180.0130.00616.50
8.2.170.0140.00022.96
8.2.160.0070.00720.35
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0140.00326.16
8.2.120.0080.00021.15
8.2.110.0110.00020.43
8.2.100.0040.00817.91
8.2.90.0080.00418.86
8.2.80.0000.00817.97
8.2.70.0080.00417.73
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0040.00418.22
8.2.30.0040.00417.90
8.2.20.0000.00717.77
8.2.10.0050.00217.90
8.2.00.0000.00917.84
8.1.280.0070.01025.92
8.1.270.0060.00323.92
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00724.02
8.1.230.0000.01118.97
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.78
8.1.160.0000.00721.95
8.1.150.0040.00418.96
8.1.140.0000.00717.63
8.1.130.0070.00017.81
8.1.120.0000.00817.51
8.1.110.0000.00717.63
8.1.100.0030.00317.60
8.1.90.0000.00717.61
8.1.80.0040.00417.66
8.1.70.0030.00317.51
8.1.60.0070.00417.66
8.1.50.0080.00017.66
8.1.40.0030.00517.62
8.1.30.0030.00517.75
8.1.20.0040.00417.74
8.1.10.0000.00817.57
8.1.00.0000.00817.51
8.0.300.0030.00618.77
8.0.290.0000.00716.88
8.0.280.0070.00018.40
8.0.270.0040.00417.13
8.0.260.0060.00017.14
8.0.250.0000.00717.12
8.0.240.0050.00317.11
8.0.230.0030.00317.13
8.0.220.0030.00317.03
8.0.210.0000.00717.01
8.0.200.0000.00717.09
8.0.190.0000.00717.14
8.0.180.0000.00717.13
8.0.170.0000.00816.94
8.0.160.0040.00417.00
8.0.150.0040.00417.03
8.0.140.0050.00217.03
8.0.130.0030.00313.34
8.0.120.0040.00417.09
8.0.110.0070.00017.07
8.0.100.0030.00316.98
8.0.90.0000.00717.14
8.0.80.0060.00917.16
8.0.70.0080.00017.17
8.0.60.0000.00816.91
8.0.50.0050.00316.93
8.0.30.0100.01017.19
8.0.20.0140.00617.40
8.0.10.0040.00417.29
8.0.00.0060.01116.87
7.4.330.0050.00015.07
7.4.320.0000.00616.70
7.4.300.0030.00316.70
7.4.290.0070.00016.70
7.4.280.0050.00316.71
7.4.270.0000.00816.64
7.4.260.0000.00716.58
7.4.250.0000.00716.55
7.4.240.0020.00516.64
7.4.230.0040.00416.54
7.4.220.0120.00616.78
7.4.210.0100.01016.70
7.4.200.0050.00316.54
7.4.160.0140.01416.54
7.4.150.0180.00717.40
7.4.140.0080.01017.86
7.4.130.0060.01216.64
7.4.120.0090.00816.67
7.4.110.0060.01016.48
7.4.100.0050.01316.64
7.4.90.0090.00816.32
7.4.80.0070.01019.39
7.4.70.0100.00716.68
7.4.60.0060.00916.63
7.4.50.0000.00416.80
7.4.40.0120.00416.73
7.4.30.0030.01316.44
7.4.00.0100.00715.28
7.3.330.0020.00213.22
7.3.320.0030.00313.38
7.3.310.0070.00016.55
7.3.300.0030.00316.26
7.3.290.0060.01316.58
7.3.280.0120.00416.46
7.3.270.0150.00417.40
7.3.260.0060.01316.50
7.3.240.0030.01216.67
7.3.230.0110.00516.44
7.3.210.0150.00516.45
7.3.200.0130.02219.39
7.3.190.0120.00916.70
7.3.180.0120.00316.68
7.3.170.0060.00916.51
7.3.160.0040.01216.45
7.2.330.0160.00616.51
7.2.320.0150.00316.82
7.2.310.0040.01516.81
7.2.300.0110.00816.48
7.2.290.0100.00616.77
7.2.60.0100.00716.89
7.2.00.0030.01019.75
7.1.200.0060.00615.89
7.1.100.0030.00918.25
7.1.70.0100.00316.86
7.1.60.0100.01419.40
7.1.50.0130.01034.96
7.1.00.0030.07722.36
7.0.200.0000.00916.72
7.0.140.0070.07022.00
7.0.100.0200.06720.17
7.0.90.0030.09720.14
7.0.80.0070.08719.84
7.0.70.0170.04319.92
7.0.60.0270.07019.95
7.0.50.0230.05720.39
7.0.40.0070.06019.95
7.0.30.0000.05320.15
7.0.20.0170.08320.03
7.0.10.0100.07320.12
7.0.00.0170.06320.16
5.6.280.0100.06721.07
5.6.250.0000.09020.77
5.6.240.0030.04320.60
5.6.230.0030.07020.67
5.6.220.0030.05020.52
5.6.210.0070.08720.65
5.6.200.0070.04321.09
5.6.190.0000.04721.07
5.6.180.0100.07021.11
5.6.170.0000.04721.02
5.6.160.0000.07321.01
5.6.150.0030.07720.95
5.6.140.0100.04021.02
5.6.130.0100.07721.10
5.6.120.0100.08021.07
5.6.110.0030.05021.10
5.6.100.0100.08021.03
5.6.90.0170.06021.02
5.6.80.0030.04320.34
5.6.70.0000.05720.54
5.6.60.0170.07320.45
5.6.50.0130.04720.49
5.6.40.0130.05720.46
5.6.30.0100.07320.40
5.6.20.0130.03720.46
5.6.10.0030.04320.36
5.6.00.0130.05320.36
5.5.380.0030.04320.33
5.5.370.0200.07020.41
5.5.360.0070.04020.48
5.5.350.0270.07020.39
5.5.340.0070.04020.82
5.5.330.0030.04320.82
5.5.320.0030.05020.77
5.5.310.0070.04720.92
5.5.300.0100.05020.88
5.5.290.0170.07020.88
5.5.280.0100.07720.93
5.5.270.0070.07320.75
5.5.260.0100.08020.83
5.5.250.0170.06320.69
5.5.240.0030.04020.02
5.5.230.0030.06720.27
5.5.220.0170.06720.17
5.5.210.0200.04320.16
5.5.200.0170.07020.27
5.5.190.0000.05720.21
5.5.180.0070.07020.20
5.5.160.0130.05720.20
5.5.150.0030.04020.20
5.5.140.0070.03720.07
5.5.130.0000.07720.23
5.5.120.0100.04319.98
5.5.110.0000.04020.07
5.5.100.0070.07720.06
5.5.90.0070.03319.97
5.5.80.0100.04720.05
5.5.70.0070.06020.14
5.5.60.0030.08720.03
5.5.50.0030.06320.13
5.5.40.0030.05020.09
5.5.30.0030.04319.93
5.5.20.0100.04320.14
5.5.10.0130.07020.11
5.5.00.0070.06320.02
5.4.450.0100.07319.43
5.4.440.0100.08019.22
5.4.430.0070.04719.55
5.4.420.0070.04319.34
5.4.410.0100.05319.09
5.4.400.0000.04719.05
5.4.390.0100.07018.91
5.4.380.0170.06318.84
5.4.370.0030.08019.06
5.4.360.0000.08019.05
5.4.350.0030.05019.03
5.4.340.0070.07319.03
5.4.320.0100.06018.79
5.4.310.0000.07018.78
5.4.300.0070.06319.04
5.4.290.0070.07719.22
5.4.280.0170.05318.89
5.4.270.0070.03319.22
5.4.260.0000.05319.09
5.4.250.0100.05319.05
5.4.240.0030.04719.09
5.4.230.0030.05318.80
5.4.220.0070.07719.11
5.4.210.0070.07318.78
5.4.200.0100.03718.80
5.4.190.0070.06718.80
5.4.180.0100.07318.89
5.4.170.0070.04318.88
5.4.160.0070.05719.09
5.4.150.0100.07718.79
5.4.140.0070.03316.35
5.4.130.0070.03016.33
5.4.120.0070.03016.26
5.4.110.0130.06316.26
5.4.100.0030.07716.26
5.4.90.0000.07016.31
5.4.80.0000.05016.30
5.4.70.0070.07316.32
5.4.60.0100.03016.38
5.4.50.0070.03316.32
5.4.40.0100.03316.23
5.4.30.0030.03316.29
5.4.20.0100.04716.41
5.4.10.0030.05016.22
5.4.00.0070.07315.72
5.3.290.0000.04314.60
5.3.280.0170.06714.45
5.3.270.0070.07714.59
5.3.260.0000.04014.52
5.3.250.0070.06714.55
5.3.240.0030.06314.57
5.3.230.0070.06314.55
5.3.220.0000.04014.56
5.3.210.0130.06714.43
5.3.200.0030.05014.47
5.3.190.0000.04714.55
5.3.180.0070.03314.57
5.3.170.0000.05714.52
5.3.160.0070.06714.42
5.3.150.0000.04014.50
5.3.140.0000.04014.55
5.3.130.0030.07014.52
5.3.120.0130.04314.51
5.3.110.0100.06714.48
5.3.100.0070.06713.99
5.3.90.0070.07313.97
5.3.80.0100.07713.87
5.3.70.0000.07014.01
5.3.60.0100.05013.86
5.3.50.0070.06713.90
5.3.40.0000.04013.73
5.3.30.0030.07713.91
5.3.20.0130.06713.59
5.3.10.0070.04013.60
5.3.00.0000.07713.62
5.2.170.0000.04011.81
5.2.160.0030.05011.81
5.2.150.0070.04711.81
5.2.140.0100.06011.81
5.2.130.0030.06711.81
5.2.120.0070.05711.81
5.2.110.0070.06011.81
5.2.100.0030.06011.81
5.2.90.0000.05311.81
5.2.80.0030.03011.81
5.2.70.0000.06311.81
5.2.60.0030.06711.81
5.2.50.0130.05311.81
5.2.40.0130.04011.81
5.2.30.0030.05311.81
5.2.20.0030.06311.81
5.2.10.0070.05011.81
5.2.00.0030.04311.81
5.1.60.0070.04711.81
5.1.50.0070.04311.81
5.1.40.0030.05011.81
5.1.30.0030.04711.81
5.1.20.0070.05311.81
5.1.10.0100.04311.81
5.1.00.0030.04011.81
5.0.50.0000.02711.81
5.0.40.0070.02711.81
5.0.30.0000.04711.81
5.0.20.0000.04011.81
5.0.10.0070.02711.81
5.0.00.0130.06011.81
4.4.90.0000.03711.81
4.4.80.0000.01711.81
4.4.70.0070.02711.81
4.4.60.0000.02711.81
4.4.50.0030.03311.81
4.4.40.0030.02711.81
4.4.30.0030.03311.81
4.4.20.0000.02011.81
4.4.10.0000.03711.81
4.4.00.0000.05011.81
4.3.110.0030.02011.81
4.3.100.0030.02011.81
4.3.90.0030.01711.81
4.3.80.0030.05311.81
4.3.70.0070.01011.81
4.3.60.0030.03311.81
4.3.50.0070.03311.81
4.3.40.0030.02711.81
4.3.30.0000.01711.81
4.3.20.0030.01711.81
4.3.10.0030.03011.81
4.3.00.0000.03011.81

preferences:
39.71 ms | 401 KiB | 5 Q