3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this_thr_str = strtotime('this Thursday'); echo date('mdy',$this_thr_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.40.0040.01118.82
8.3.30.0150.00318.94
8.3.20.0060.00320.16
8.3.10.0050.00321.77
8.3.00.0080.00019.25
8.2.170.0040.01122.96
8.2.160.0100.00720.34
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00421.07
8.2.120.0040.00426.35
8.2.110.0100.00022.25
8.2.100.0090.00317.97
8.2.90.0040.00417.80
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0000.00818.18
8.2.50.0040.00418.15
8.2.40.0000.00720.72
8.2.30.0000.00719.25
8.2.20.0040.00418.23
8.2.10.0040.00418.09
8.2.00.0040.00418.11
8.1.270.0080.00022.25
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0040.00422.23
8.1.230.0100.00321.02
8.1.220.0050.00317.88
8.1.210.0050.00318.77
8.1.200.0030.00717.50
8.1.190.0050.00317.48
8.1.180.0070.00318.10
8.1.170.0060.00318.52
8.1.160.0030.00519.04
8.1.150.0020.00518.93
8.1.140.0050.00219.54
8.1.130.0070.00018.86
8.1.120.0000.00717.64
8.1.110.0000.00717.61
8.1.100.0050.00317.52
8.1.90.0020.00517.68
8.1.80.0000.00817.67
8.1.70.0000.00717.62
8.1.60.0000.00817.70
8.1.50.0080.00017.66
8.1.40.0070.00017.58
8.1.30.0000.00817.77
8.1.20.0000.00817.70
8.1.10.0050.00217.64
8.1.00.0000.00817.58
8.0.300.0000.00720.06
8.0.290.0030.00617.00
8.0.280.0000.00718.48
8.0.270.0030.00317.44
8.0.260.0030.00516.98
8.0.250.0070.00017.22
8.0.240.0000.01017.14
8.0.230.0000.00717.14
8.0.220.0000.00817.07
8.0.210.0040.00417.12
8.0.200.0000.00617.10
8.0.190.0030.00617.04
8.0.180.0070.00017.09
8.0.170.0070.00016.93
8.0.160.0060.00317.15
8.0.150.0080.00016.98
8.0.140.0070.00017.08
8.0.130.0000.00613.43
8.0.120.0000.00716.95
8.0.110.0080.00017.08
8.0.100.0040.00417.08
8.0.90.0040.00416.98
8.0.80.0100.01017.07
8.0.70.0000.00717.14
8.0.60.0000.00716.92
8.0.50.0030.00317.06
8.0.30.0110.00517.25
8.0.20.0100.00917.40
8.0.10.0000.00717.16
8.0.00.0040.01216.86
7.4.330.0000.00515.55
7.4.320.0060.00016.72
7.4.300.0030.00316.52
7.4.290.0060.00316.56
7.4.280.0000.00716.68
7.4.270.0000.00716.64
7.4.260.0070.00416.57
7.4.250.0000.00716.54
7.4.240.0030.00316.68
7.4.230.0040.00416.43
7.4.220.0080.01516.69
7.4.210.0030.01016.62
7.4.200.0000.00716.66
7.4.160.0080.01016.58
7.4.150.0070.01017.40
7.4.140.0090.01017.86
7.4.130.0160.00316.61
7.4.120.0100.01216.67
7.4.110.0100.00716.57
7.4.100.0060.01616.53
7.4.90.0100.01016.60
7.4.80.0130.00719.39
7.4.70.0070.00716.70
7.4.60.0060.00916.67
7.4.50.0110.00716.66
7.4.40.0060.01016.76
7.4.30.0090.01216.75
7.4.00.0080.00615.06
7.3.330.0000.00513.30
7.3.320.0030.00313.02
7.3.310.0000.00716.41
7.3.300.0040.00416.19
7.3.290.0070.00916.34
7.3.280.0070.01016.31
7.3.270.0030.01317.40
7.3.260.0140.00516.59
7.3.250.0080.01016.46
7.3.240.0140.00816.41
7.3.230.0090.00916.58
7.3.210.0070.01016.61
7.3.200.0140.00316.60
7.3.190.0100.00616.52
7.3.180.0120.00916.41
7.3.170.0030.01316.45
7.3.160.0060.00916.58
7.3.120.0110.00714.76
7.3.110.0040.01214.87
7.3.100.0070.00714.75
7.3.90.0080.00414.91
7.3.80.0000.00915.19
7.3.70.0000.01214.88
7.3.60.0090.00315.02
7.3.50.0070.00314.87
7.3.40.0040.01114.98
7.3.30.0030.00914.98
7.3.20.0090.00616.57
7.3.10.0260.00816.70
7.3.00.0140.00716.64
7.2.330.0130.00716.88
7.2.320.0140.00316.99
7.2.310.0080.00816.85
7.2.300.0070.01016.60
7.2.290.0160.00616.58
7.2.250.0030.01615.20
7.2.240.0150.00315.20
7.2.230.0060.00615.08
7.2.220.0040.01215.19
7.2.210.0000.01215.23
7.2.200.0030.01315.13
7.2.190.0030.01015.10
7.2.180.0140.00315.02
7.2.170.0040.01215.31
7.2.130.0150.00716.68
7.2.120.0100.00016.79
7.2.110.0080.00516.89
7.2.100.0060.01116.69
7.2.90.0810.00916.12
7.2.80.0190.00916.08
7.2.70.0520.00616.42
7.2.60.0270.00816.39
7.2.50.0210.00616.35
7.2.40.0080.00416.40
7.2.30.0760.00716.50
7.2.20.0150.00316.34
7.2.10.0390.00516.28
7.2.00.0100.00716.49
7.1.330.0070.00716.06
7.1.320.0070.00716.05
7.1.310.0100.00416.00
7.1.300.0070.00715.77
7.1.290.0040.00815.83
7.1.280.0030.01016.00
7.1.270.0040.00415.79
7.1.260.0080.00815.81
7.1.250.0090.00515.96
7.1.230.0060.00915.89
7.1.220.0030.01015.79
7.1.210.0080.00614.84
7.1.200.1120.00815.08
7.1.190.0860.01014.99
7.1.180.0060.00914.79
7.1.170.0700.01015.10
7.1.160.0880.01015.05
7.1.150.1210.00514.77
7.1.140.0250.00615.06
7.1.130.0120.00315.05
7.1.120.0110.00415.04
7.1.110.1120.00214.93
7.1.100.0060.01014.98
7.1.90.0050.01015.02
7.1.80.0110.00514.84
7.1.70.0050.00915.02
7.1.60.0180.00723.96
7.1.50.0500.00823.86
7.1.40.0680.01523.97
7.1.30.0210.00624.02
7.1.20.0230.00523.88
7.1.10.0890.00514.66
7.1.00.0090.00515.08
7.0.310.0090.00714.48
7.0.300.0090.00514.43
7.0.290.0390.00514.55
7.0.280.0290.00514.74
7.0.270.0460.00514.46
7.0.260.1080.00814.33
7.0.250.0250.00814.46
7.0.240.0350.00614.36
7.0.230.0040.01214.39
7.0.220.0450.00614.53
7.0.210.0090.00414.56
7.0.200.0250.00614.66
7.0.190.0710.00814.51
7.0.180.0290.00514.59
7.0.170.0030.01014.50
7.0.160.0150.00614.63
7.0.150.0110.00614.65
7.0.140.0910.00514.46
7.0.130.0090.00314.63
7.0.120.0300.00814.70
7.0.110.0070.00614.55
7.0.100.0060.00914.72
7.0.90.0110.00514.48
7.0.80.0490.00914.38
7.0.70.0320.00614.49
7.0.60.0110.00514.48
7.0.50.0120.00514.65
7.0.40.0070.00513.61
7.0.30.0150.00713.62
7.0.20.0060.01113.70
7.0.10.0090.00613.61
7.0.00.0080.00613.66
5.6.380.0090.00314.59

preferences:
44.73 ms | 400 KiB | 5 Q