3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this_tue_str = strtotime('this Tuesday'); //echo $this_tue_str; echo date('mdy',$this_tue_str); //$last_tue_str = strtotime('last Tuesday'); //echo date('mdy',$tuestr);

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.0110.00716.50
8.3.50.0070.00716.59
8.3.40.0140.00018.82
8.3.30.0080.00818.97
8.3.20.0060.00320.39
8.3.10.0050.00321.79
8.3.00.0040.00419.25
8.2.180.0110.00716.88
8.2.170.0110.00422.96
8.2.160.0140.00320.22
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00421.18
8.2.120.0070.00026.35
8.2.110.0090.00022.14
8.2.100.0120.00018.00
8.2.90.0040.00418.15
8.2.80.0070.00317.97
8.2.70.0000.00817.75
8.2.60.0050.00318.16
8.2.50.0040.00418.10
8.2.40.0050.00320.67
8.2.30.0030.00619.27
8.2.20.0040.00418.11
8.2.10.0000.00818.04
8.2.00.0070.00017.98
8.1.280.0150.00325.92
8.1.270.0040.00422.24
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0060.00322.31
8.1.230.0080.00420.95
8.1.220.0040.00417.91
8.1.210.0000.00819.04
8.1.200.0060.00317.60
8.1.190.0050.00317.35
8.1.180.0000.01118.10
8.1.170.0040.00418.78
8.1.160.0030.00319.13
8.1.150.0040.00418.85
8.1.140.0000.00819.63
8.1.130.0030.00318.94
8.1.120.0000.00717.53
8.1.110.0000.00717.70
8.1.100.0040.00417.67
8.1.90.0000.00717.67
8.1.80.0000.00717.69
8.1.70.0030.00517.59
8.1.60.0000.00917.60
8.1.50.0040.00417.53
8.1.40.0000.00817.68
8.1.30.0040.00417.79
8.1.20.0030.00517.80
8.1.10.0020.00517.58
8.1.00.0000.00717.70
8.0.300.0000.00820.04
8.0.290.0000.00717.00
8.0.280.0070.00018.49
8.0.270.0040.00417.41
8.0.260.0030.00317.12
8.0.250.0070.00017.19
8.0.240.0080.00417.12
8.0.230.0000.00717.15
8.0.220.0040.00417.07
8.0.210.0030.00516.96
8.0.200.0070.00017.13
8.0.190.0050.00317.14
8.0.180.0040.00417.03
8.0.170.0050.00217.11
8.0.160.0050.00217.05
8.0.150.0000.00717.00
8.0.140.0040.00416.88
8.0.130.0000.00513.50
8.0.120.0040.00416.94
8.0.110.0040.00416.92
8.0.100.0040.00417.05
8.0.90.0080.00016.86
8.0.80.0100.00717.06
8.0.70.0050.00216.92
8.0.60.0030.00417.00
8.0.50.0000.00716.81
8.0.30.0060.01217.13
8.0.20.0090.01017.41
8.0.10.0040.00417.25
8.0.00.0000.01817.15
7.4.330.0050.00015.55
7.4.320.0050.00216.74
7.4.300.0030.00316.71
7.4.290.0030.00616.61
7.4.280.0040.00416.52
7.4.270.0030.00316.78
7.4.260.0000.00716.73
7.4.250.0040.00416.64
7.4.240.0000.00816.66
7.4.230.0070.00016.70
7.4.220.0170.01716.71
7.4.210.0100.01016.66
7.4.200.0030.00316.53
7.4.160.0090.00616.69
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0090.00916.66
7.4.120.0120.00616.71
7.4.110.0140.00316.86
7.4.100.0060.01316.55
7.4.90.0070.01016.47
7.4.80.0180.00019.39
7.4.70.0090.00616.45
7.4.60.0100.00616.61
7.4.50.0110.00716.53
7.4.40.0000.01716.61
7.4.30.0090.01216.77
7.4.00.0000.01115.03
7.3.330.0000.00613.07
7.3.320.0030.00313.22
7.3.310.0040.00416.16
7.3.300.0000.00616.32
7.3.290.0060.00816.33
7.3.280.0080.01016.34
7.3.270.0120.00917.40
7.3.260.0100.00816.54
7.3.250.0110.00716.49
7.3.240.0070.01016.61
7.3.230.0120.00616.69
7.3.210.0070.01016.69
7.3.200.0150.00616.56
7.3.190.0120.00416.51
7.3.180.0100.00716.41
7.3.170.0100.00716.39
7.3.160.0100.00616.53
7.3.10.0040.01117.00
7.3.00.0100.00016.53
7.2.330.0100.00716.73
7.2.320.0070.01717.05
7.2.310.0090.00616.93
7.2.300.0060.01016.57
7.2.290.0030.01916.65
7.2.130.0040.00817.05
7.2.120.0030.00717.11
7.2.110.0030.00917.00
7.2.100.0110.00716.77
7.2.90.0210.00616.00
7.2.80.0090.00715.69
7.2.70.0100.00616.05
7.2.60.0620.00816.02
7.2.50.0100.01015.90
7.2.40.1090.00316.25
7.2.30.0100.00916.12
7.2.20.0080.00815.86
7.2.10.0070.01216.06
7.2.00.0090.00816.09
7.1.250.0030.00716.11
7.1.210.0280.00413.94
7.1.200.0140.00313.79
7.1.190.0650.00314.04
7.1.180.0540.00313.88
7.1.170.0130.00313.95
7.1.160.2080.00713.92
7.1.150.1740.00314.00
7.1.140.0050.01413.63
7.1.130.1440.00614.14
7.1.120.2230.00613.99
7.1.110.2730.01313.99
7.1.100.0120.00613.90
7.1.90.0230.00614.09
7.1.80.0840.00414.05
7.1.70.0190.01513.66
7.1.60.0300.01531.91
7.1.50.1720.01431.80
7.1.40.0350.01031.84
7.1.30.1390.00632.04
7.1.20.0670.00031.87
7.1.10.0090.00914.08
7.1.00.0770.00013.89
7.0.310.0350.01013.59
7.0.300.0100.01013.35
7.0.290.1910.01013.58
7.0.280.0130.00913.20
7.0.270.0740.01013.21
7.0.260.3170.00313.56
7.0.250.0120.01313.68
7.0.240.0070.00713.46
7.0.230.0350.00013.32
7.0.220.0180.00313.29
7.0.210.0000.01713.77
7.0.200.1600.00713.42
7.0.190.0270.00013.50
7.0.180.0490.00313.26
7.0.170.0820.00313.51
7.0.160.0120.00913.65
7.0.150.0150.00613.44
7.0.140.1300.01013.54
7.0.130.1080.00713.82
7.0.120.0070.01313.75
7.0.110.0090.00613.74
7.0.100.0120.00413.47
7.0.90.0680.00613.74
7.0.80.1930.00613.71
7.0.70.0140.00813.63
7.0.60.3290.00313.68
7.0.50.2290.00313.66
7.0.40.1880.00613.52
7.0.30.2370.00313.55
7.0.20.2090.00313.77
7.0.10.2780.01213.54
7.0.00.0090.00913.79

preferences:
51.77 ms | 401 KiB | 5 Q