3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d',strtotime( 'first day of next month')), "\n"; echo date('Y-m-d',strtotime( 'first day of next 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.60.0070.01116.50
8.3.50.0050.01018.30
8.3.40.0070.01018.77
8.3.30.0110.00418.97
8.3.20.0070.00019.14
8.3.10.0040.00421.76
8.3.00.0040.00422.45
8.2.180.0100.01318.54
8.2.170.0130.00322.96
8.2.160.0120.00319.38
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0020.00522.38
8.2.120.0040.00426.35
8.2.110.0040.00420.50
8.2.100.0090.00317.97
8.2.90.0030.00620.67
8.2.80.0000.00818.05
8.2.70.0000.00818.16
8.2.60.0080.00018.16
8.2.50.0000.00918.10
8.2.40.0000.00820.71
8.2.30.0000.00719.23
8.2.20.0070.00017.88
8.2.10.0040.00418.13
8.2.00.0000.00717.65
8.1.280.0100.00725.92
8.1.270.0130.00624.04
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0100.00023.91
8.1.230.0090.00320.92
8.1.220.0060.00317.76
8.1.210.0040.00419.10
8.1.200.0030.00717.35
8.1.190.0050.00317.36
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00722.20
8.1.150.0030.00618.89
8.1.140.0080.00019.54
8.1.130.0070.00017.60
8.1.120.0040.00417.55
8.1.110.0080.00017.47
8.1.100.0000.00817.47
8.1.90.0000.00717.64
8.1.80.0030.00617.64
8.1.70.0040.00417.59
8.1.60.0040.00417.68
8.1.50.0040.00417.59
8.1.40.0050.00317.47
8.1.30.0000.00817.76
8.1.20.0040.00417.71
8.1.10.0040.00417.71
8.1.00.0030.00517.61
8.0.300.0090.00019.86
8.0.290.0000.01116.63
8.0.280.0050.00218.39
8.0.270.0070.00017.18
8.0.260.0060.00016.93
8.0.250.0000.00617.18
8.0.240.0070.00017.04
8.0.230.0030.00317.07
8.0.220.0000.00716.89
8.0.210.0040.00417.06
8.0.200.0040.00416.98
8.0.190.0080.00017.18
8.0.180.0000.00716.93
8.0.170.0040.00417.09
8.0.160.0050.00217.13
8.0.150.0000.00717.00
8.0.140.0030.00316.88
8.0.130.0000.00513.34
8.0.120.0040.00416.85
8.0.110.0040.00416.92
8.0.100.0040.00417.01
8.0.90.0000.00717.05
8.0.80.0030.01216.99
8.0.70.0000.00817.14
8.0.60.0040.00416.86
8.0.50.0040.00417.01
8.0.30.0100.00817.21
8.0.20.0110.00817.42
8.0.10.0000.00817.19
8.0.00.0090.00917.00
7.4.330.0000.00615.08
7.4.320.0030.00316.51
7.4.300.0000.00616.55
7.4.290.0040.00416.66
7.4.280.0050.00216.66
7.4.270.0070.00016.50
7.4.260.0050.00216.47
7.4.250.0040.00416.52
7.4.240.0000.00716.58
7.4.230.0000.00716.48
7.4.220.0090.01216.61
7.4.210.0080.01016.69
7.4.200.0000.00716.67
7.4.160.0060.01516.61
7.4.150.0180.00317.40
7.4.140.0090.00917.86
7.4.130.0080.01016.75
7.4.120.0080.00816.60
7.4.110.0110.00616.50
7.4.100.0170.00016.52
7.4.90.0180.00016.74
7.4.80.0100.00719.39
7.4.70.0030.01416.40
7.4.60.0070.01016.47
7.4.50.0060.00616.52
7.4.40.0030.01316.63
7.4.30.0140.00416.64
7.4.00.0040.01114.72
7.3.330.0030.00313.30
7.3.320.0030.00313.08
7.3.310.0000.00716.20
7.3.300.0040.00416.16
7.3.290.0110.00716.37
7.3.280.0110.00716.31
7.3.270.0170.00717.40
7.3.260.0090.01016.67
7.3.250.0090.00816.43
7.3.240.0060.01316.56
7.3.230.0110.00716.66
7.3.210.0110.00616.46
7.3.200.0140.01016.42
7.3.190.0140.00316.41
7.3.180.0130.01016.45
7.3.170.0080.00816.63
7.3.160.0090.00916.64
7.2.330.0150.00416.68
7.2.320.0140.00416.75
7.2.310.0140.00316.40
7.2.300.0040.01616.80
7.2.290.0130.00616.79
7.1.70.0030.00616.98
7.1.60.0040.00817.18
7.1.00.0000.08022.45
7.0.200.0070.00314.94
7.0.100.0170.07319.93
7.0.90.0070.06719.90
7.0.80.0170.05019.98
7.0.70.0130.05719.91
7.0.60.0130.05320.08
7.0.50.0270.06320.38
7.0.40.0230.04320.32
7.0.30.0030.06720.35
7.0.20.0270.04320.29
7.0.10.0100.05320.28
7.0.00.0100.05720.21
5.6.250.0270.06020.84
5.6.240.0100.06320.72
5.6.230.0100.06020.71
5.6.220.0100.05320.61
5.6.210.0070.06320.54
5.6.200.0130.07721.17
5.6.190.0070.05721.19
5.6.180.0170.07321.09
5.6.170.0100.05721.13
5.6.160.0100.05721.19
5.6.150.0130.05321.18
5.6.140.0170.04721.05
5.6.130.0170.05321.00
5.6.120.0030.06321.17
5.6.110.0130.05321.04
5.6.100.0070.06021.15
5.6.90.0030.06321.07
5.6.80.0170.05020.48
5.6.70.0100.05320.51
5.6.60.0130.04720.49
5.6.50.0170.05020.45
5.6.40.0100.05320.46
5.6.30.0270.03720.41
5.6.20.0200.04720.43
5.6.10.0200.06020.44
5.6.00.0170.05320.35

preferences:
60.54 ms | 401 KiB | 5 Q