3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = '11'; $month = Date("m", strtotime("2017-" . $month . "-01" . " +1 month")); echo $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.0030.00616.91
8.3.120.0090.00018.96
8.3.110.0040.00420.94
8.3.100.0060.00324.06
8.3.90.0080.00826.77
8.3.80.0090.00018.30
8.3.70.0170.00316.88
8.3.60.0040.01116.88
8.3.50.0140.00518.36
8.3.40.0120.00318.70
8.3.30.0120.00318.80
8.3.20.0000.00720.21
8.3.10.0000.00723.70
8.3.00.0070.00021.63
8.2.250.0100.01016.45
8.2.240.0030.00617.28
8.2.230.0040.00422.58
8.2.220.0120.00637.54
8.2.210.0090.00326.77
8.2.200.0080.00016.50
8.2.190.0120.00616.75
8.2.180.0110.00318.69
8.2.170.0040.01122.96
8.2.160.0100.00319.40
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00020.47
8.2.120.0050.00326.35
8.2.110.0070.00322.20
8.2.100.0110.00019.34
8.2.90.0040.00419.87
8.2.80.0000.00817.97
8.2.70.0040.00418.05
8.2.60.0050.00318.34
8.2.50.0000.00818.10
8.2.40.0040.00420.68
8.2.30.0040.00421.22
8.2.20.0040.00418.21
8.2.10.0050.00218.18
8.2.00.0040.00418.11
8.1.300.0150.00416.79
8.1.290.0030.00630.84
8.1.280.0140.00725.92
8.1.270.0100.00023.99
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0140.00020.64
8.1.230.0080.00420.89
8.1.220.0000.00817.91
8.1.210.0000.00918.77
8.1.200.0070.00417.60
8.1.190.0000.00817.60
8.1.180.0040.00418.10
8.1.170.0000.01018.87
8.1.160.0040.00419.02
8.1.150.0050.00220.20
8.1.140.0000.00719.09
8.1.130.0000.00719.04
8.1.120.0070.00017.74
8.1.110.0080.00017.59
8.1.100.0000.00817.68
8.1.90.0050.00217.58
8.1.80.0000.00717.61
8.1.70.0000.00717.62
8.1.60.0030.00517.73
8.1.50.0050.00317.75
8.1.40.0000.00817.70
8.1.30.0030.00517.73
8.1.20.0040.00417.87
8.1.10.0000.00717.67
8.1.00.0060.00317.57
8.0.300.0050.00221.80
8.0.290.0040.00416.88
8.0.280.0070.00018.61
8.0.270.0040.00417.10
8.0.260.0000.00617.29
8.0.250.0030.00517.24
8.0.240.0050.00317.18
8.0.230.0040.00417.24
8.0.220.0030.00317.03
8.0.210.0000.00717.13
8.0.200.0060.00017.07
8.0.190.0000.00817.09
8.0.180.0000.00817.19
8.0.170.0030.00317.14
8.0.160.0000.00717.19
8.0.150.0040.00717.15
8.0.140.0000.00816.93
8.0.130.0000.00613.44
8.0.120.0000.00817.10
8.0.110.0000.00817.10
8.0.100.0070.00017.12
8.0.90.0050.00317.11
8.0.80.0120.00317.18
8.0.70.0070.00016.94
8.0.60.0040.00417.12
8.0.50.0040.00416.91
8.0.30.0080.01017.13
8.0.20.0120.00717.42
8.0.10.0000.00817.24
8.0.00.0150.00316.75
7.4.330.0000.00415.55
7.4.320.0000.00716.63
7.4.300.0000.00616.73
7.4.290.0000.00716.69
7.4.280.0040.00416.76
7.4.270.0060.00316.48
7.4.260.0070.00016.65
7.4.250.0090.00016.66
7.4.240.0050.00216.49
7.4.230.0050.00216.46
7.4.220.0130.01016.54
7.4.210.0060.01216.73
7.4.200.0000.00716.79
7.4.160.0100.01216.67
7.4.150.0060.01217.40
7.4.140.0090.01117.86
7.4.130.0100.01016.67
7.4.120.0140.00916.74
7.4.110.0140.00316.82
7.4.100.0100.01016.70
7.4.90.0040.01216.70
7.4.80.0150.00319.39
7.4.70.0070.01116.70
7.4.60.0040.01116.49
7.4.50.0030.01316.90
7.4.40.0130.00316.54
7.4.30.0120.00316.83
7.4.00.0090.00314.86
7.3.330.0050.00013.28
7.3.320.0000.00613.19
7.3.310.0070.00016.45
7.3.300.0070.00016.39
7.3.290.0090.00716.47
7.3.280.0110.00616.45
7.3.270.0090.00917.40
7.3.260.0130.00816.64
7.3.250.0100.00816.51
7.3.240.0110.00816.56
7.3.230.0130.00316.60
7.3.210.0030.01816.50
7.3.200.0130.00316.71
7.3.190.0040.01416.66
7.3.180.0090.00616.64
7.3.170.0140.00316.69
7.3.160.0110.00616.66
7.2.330.0140.00416.98
7.2.320.0100.00616.96
7.2.310.0160.00916.57
7.2.300.0030.01416.94
7.2.290.0110.00616.91
7.2.60.0040.00817.12
7.2.50.0070.00717.13
7.1.200.0120.00015.97
7.1.110.0570.01116.49
7.1.100.0560.01316.30
7.1.90.0700.01316.54
7.1.80.0600.01716.22
7.1.70.0700.01315.63
7.1.60.0300.01233.60
7.1.50.0920.02033.03
7.1.40.0930.02432.84
7.1.30.1160.01332.91
7.1.20.1030.00932.80
7.1.10.0060.01314.98
7.1.00.0960.00315.21
7.0.250.0560.00915.93
7.0.240.0490.01016.08
7.0.230.0770.00616.06
7.0.220.0680.00715.89
7.0.210.0190.00614.77
7.0.200.1030.01315.22
7.0.190.0660.01314.88
7.0.180.0980.01814.30
7.0.170.0800.01214.73
7.0.160.0860.00714.65
7.0.150.0150.00414.60
7.0.140.0150.00714.60
7.0.130.0610.00314.68
7.0.120.0560.01314.84
7.0.110.1100.01214.66
7.0.100.0280.01414.59
7.0.90.0940.01414.68
7.0.80.2020.01314.84
7.0.70.1070.00914.70
7.0.60.0580.00714.36
7.0.50.1690.00714.55
7.0.40.1390.00914.69
7.0.30.1410.01714.56
7.0.20.1240.01514.60
7.0.10.0970.00914.66
7.0.00.0860.00714.86

preferences:
27.16 ms | 403 KiB | 5 Q