3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("Y-m", strtotime('first day of last month'));

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.130.0000.01116.46
8.3.120.0060.00918.91
8.3.110.0050.00316.63
8.3.100.0060.00324.06
8.3.90.0040.01526.77
8.3.80.0070.00416.50
8.3.70.0120.00316.58
8.3.60.0100.00716.75
8.3.50.0170.00324.53
8.3.40.0070.01320.47
8.3.30.0110.00419.02
8.3.20.0040.00421.89
8.3.10.0040.00422.14
8.3.00.0040.00422.29
8.2.250.0050.00316.89
8.2.240.0030.00618.82
8.2.230.0050.00320.94
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0070.00316.75
8.2.190.0110.01116.75
8.2.180.0180.00316.63
8.2.170.0150.00622.96
8.2.160.0070.01019.33
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00821.03
8.2.110.0030.00722.25
8.2.100.0070.00418.03
8.2.90.0000.00818.03
8.2.80.0050.00318.04
8.2.70.0040.00417.88
8.2.60.0040.00417.75
8.2.50.0080.00017.75
8.2.40.0030.00521.18
8.2.30.0000.00719.19
8.2.20.0000.00818.25
8.2.10.0050.00219.23
8.2.00.0040.00419.23
8.1.300.0080.01218.53
8.1.290.0090.00018.88
8.1.280.0060.00925.92
8.1.270.0080.00022.16
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0070.00321.12
8.1.230.0070.00421.01
8.1.220.0000.00917.74
8.1.210.0020.00918.96
8.1.200.0030.00617.36
8.1.190.0040.00417.23
8.1.180.0000.00918.10
8.1.170.0000.00818.52
8.1.160.0040.00419.16
8.1.150.0070.00018.88
8.1.140.0000.00818.76
8.1.130.0000.00720.05
8.1.120.0070.00017.66
8.1.110.0030.00517.56
8.1.100.0040.00417.62
8.1.90.0000.00717.58
8.1.80.0070.00017.66
8.1.70.0080.00017.59
8.1.60.0040.00717.64
8.1.50.0000.00917.62
8.1.40.0030.00717.47
8.1.30.0040.00417.66
8.1.20.0040.00417.61
8.1.10.0050.00317.61
8.1.00.0050.00217.61
8.0.300.0040.00419.90
8.0.290.0060.00616.88
8.0.280.0000.00818.43
8.0.270.0000.00717.03
8.0.260.0000.00823.56
8.0.250.0020.00517.12
8.0.240.0000.00717.14
8.0.230.0070.00017.02
8.0.220.0040.00417.05
8.0.210.0040.00417.01
8.0.200.0000.00717.09
8.0.190.0000.00717.07
8.0.180.0080.00017.11
8.0.170.0030.00617.00
8.0.160.0070.00016.95
8.0.150.0040.00817.03
8.0.140.0030.00616.88
8.0.130.0030.00313.41
8.0.120.0000.00716.95
8.0.110.0040.00417.09
8.0.100.0000.00716.89
8.0.90.0040.00416.90
8.0.80.0090.00917.00
8.0.70.0000.00817.07
8.0.60.0050.00316.85
8.0.50.0030.00616.90
8.0.30.0030.01317.14
8.0.20.0090.01217.07
8.0.10.0040.00417.05
8.0.00.0100.00716.99
7.4.330.0030.00315.55
7.4.320.0030.00316.58
7.4.300.0000.00716.72
7.4.290.0000.00716.67
7.4.280.0000.00716.46
7.4.270.0070.00016.76
7.4.260.0030.00313.26
7.4.250.0000.00716.66
7.4.240.0000.00816.48
7.4.230.0030.00316.57
7.4.220.0050.00216.67
7.4.210.0090.00916.65
7.4.200.0000.00716.68
7.4.130.0140.00616.59
7.4.120.0070.01116.57
7.4.110.0110.00616.69
7.4.100.0000.01816.73
7.4.90.0130.00716.74
7.4.80.0090.00919.39
7.4.70.0120.00616.68
7.4.60.0110.00916.61
7.4.50.0090.00916.55
7.4.40.0100.00816.58
7.4.30.0170.00516.52
7.4.20.0080.01016.55
7.4.10.0120.01216.43
7.4.00.0110.00816.67
7.3.330.0000.00716.39
7.3.320.0000.00513.16
7.3.310.0000.00716.34
7.3.300.0030.00316.32
7.3.290.0130.00316.34
7.3.260.0100.00716.59
7.3.240.0080.00816.43
7.3.230.0080.00816.41
7.3.210.0100.00716.77
7.3.200.0120.00816.61
7.3.190.0110.00616.69
7.3.180.0110.00616.47
7.3.170.0080.01316.55
7.3.160.0110.00816.45
7.3.150.0090.01216.49
7.3.140.0140.00816.53
7.3.130.0150.00716.60
7.3.120.0110.00816.37
7.3.110.0180.00516.23
7.3.100.0160.00516.47
7.3.90.0080.01216.46
7.3.80.0150.00716.40
7.3.70.0150.01016.38
7.3.60.0110.00916.44
7.3.50.0100.01416.28
7.3.40.0050.01416.34
7.3.30.0080.01416.19
7.3.20.0110.01116.42
7.3.10.0150.00716.36
7.3.00.0130.00716.32
7.2.330.0110.00716.57
7.2.320.0070.01016.88
7.2.310.0000.01716.71
7.2.300.0080.01316.44
7.2.290.0090.01116.42
7.2.280.0060.01516.79
7.2.270.0090.01216.63
7.2.260.0100.00816.53
7.2.250.0120.01216.54
7.2.240.0120.01016.75
7.2.230.0100.01316.46
7.2.220.0100.01316.51
7.2.210.0110.00916.55
7.2.200.0150.00616.50
7.2.190.0090.01416.49
7.2.180.0160.00516.45
7.2.170.0080.01416.56
7.2.160.0110.01016.58
7.2.150.0070.01316.54
7.2.140.0110.01116.68
7.2.130.0090.01316.49
7.2.120.0160.00616.54
7.2.110.0190.00316.67
7.2.100.0180.00816.54
7.2.90.0270.00416.56
7.2.80.0130.00716.63
7.2.70.0170.00716.65
7.2.60.0120.01216.63
7.2.50.0150.01016.66
7.2.40.0050.01416.66
7.2.30.0200.00816.51
7.2.20.0100.01316.48
7.2.10.0160.00716.55
7.2.00.0120.01016.62

preferences:
55.89 ms | 403 KiB | 5 Q