3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gmt = "-5:00"; $local = "-8:00"; $offset = $local - $gmt; echo (int)$offset*3600; strtotime("-5:00 hours");

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.0160.00016.75
8.3.50.0100.00822.17
8.3.40.0150.00019.00
8.3.30.0070.01418.68
8.3.20.0040.00420.39
8.3.10.0000.00821.77
8.3.00.0080.00021.89
8.2.180.0170.00016.47
8.2.170.0140.00022.96
8.2.160.0070.00722.03
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.93
8.2.120.0070.00026.35
8.2.110.0060.00319.32
8.2.100.0000.01118.04
8.2.90.0070.00419.16
8.2.80.0090.00017.97
8.2.70.0040.00417.88
8.2.60.0030.00618.05
8.2.50.0000.00818.09
8.2.40.0000.00720.47
8.2.30.0000.00819.40
8.2.20.0080.00017.79
8.2.10.0000.00718.09
8.2.00.0040.00418.22
8.1.280.0140.00725.92
8.1.270.0080.00022.06
8.1.260.0050.00528.09
8.1.250.0080.00028.09
8.1.240.0150.00622.53
8.1.230.0040.00717.89
8.1.220.0050.00317.77
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0030.00618.78
8.1.160.0030.00420.67
8.1.150.0040.00420.61
8.1.140.0040.00419.57
8.1.130.0030.00317.74
8.1.120.0050.00317.61
8.1.110.0000.00717.58
8.1.100.0000.00717.50
8.1.90.0030.00517.46
8.1.80.0040.00417.56
8.1.70.0030.00317.73
8.1.60.0000.00817.71
8.1.50.0000.00817.68
8.1.40.0060.00317.64
8.1.30.0000.00917.82
8.1.20.0050.00317.66
8.1.10.0000.00717.54
8.1.00.0040.00417.51
8.0.300.0080.00018.84
8.0.290.0000.00816.88
8.0.280.0070.00018.38
8.0.270.0040.00417.21
8.0.260.0040.00417.20
8.0.250.0030.00317.13
8.0.240.0000.00717.16
8.0.230.0000.00817.13
8.0.220.0040.00416.98
8.0.210.0000.00717.01
8.0.200.0040.00417.16
8.0.190.0080.00017.14
8.0.180.0040.00417.00
8.0.170.0040.00417.11
8.0.160.0000.00717.05
8.0.150.0030.00316.99
8.0.140.0050.00316.93
8.0.130.0030.00313.42
8.0.120.0040.00417.06
8.0.110.0080.00017.06
8.0.100.0000.00817.12
8.0.90.0030.00516.95
8.0.80.0070.00916.96
8.0.70.0040.00417.07
8.0.60.0070.00016.88
8.0.50.0050.00217.12
8.0.30.0070.01017.22
8.0.20.0150.00917.40
8.0.10.0000.00717.26
8.0.00.0060.01116.93
7.4.330.0000.00616.67
7.4.320.0000.00616.71
7.4.300.0000.00616.75
7.4.290.0050.00316.49
7.4.280.0060.00316.63
7.4.270.0030.00316.64
7.4.260.0060.00616.63
7.4.250.0070.00016.57
7.4.240.0000.00716.70
7.4.230.0030.00316.63
7.4.220.0150.00416.76
7.4.210.0030.01216.81
7.4.200.0030.00316.79
7.4.160.0080.00816.68
7.4.150.0140.00317.40
7.4.140.0150.00717.86
7.4.130.0100.01116.88
7.4.120.0120.00816.72
7.4.110.0140.00416.54
7.4.100.0110.01116.72
7.4.90.0170.00616.57
7.4.80.0040.02019.39
7.4.70.0100.00716.69
7.4.60.0070.01016.85
7.4.50.0060.00916.79
7.4.40.0090.01216.76
7.4.30.0070.01016.50
7.4.00.0070.01115.29
7.3.330.0000.00513.33
7.3.320.0060.00013.31
7.3.310.0040.00416.55
7.3.300.0000.00716.46
7.3.290.0070.01016.43
7.3.280.0120.01116.49
7.3.270.0070.01017.40
7.3.260.0070.01016.63
7.3.250.0090.01016.56
7.3.240.0080.01216.42
7.3.230.0130.00316.58
7.3.210.0060.01716.39
7.3.200.0150.00619.39
7.3.190.0090.00616.68
7.3.180.0110.00516.46
7.3.170.0070.01016.49
7.3.160.0130.00916.55
7.3.10.0060.00616.92
7.3.00.0060.00616.89
7.2.330.0060.01616.51
7.2.320.0120.00916.52
7.2.310.0070.01516.49
7.2.300.0000.01716.62
7.2.290.0070.01316.56
7.2.130.0030.01017.00
7.2.120.0070.00717.06
7.2.110.0100.01016.78
7.2.100.0060.00616.88
7.2.90.0030.00917.07
7.2.80.0000.01216.88
7.2.70.0090.00317.14
7.2.60.0100.00516.89
7.2.50.0000.01116.67
7.2.40.0000.01017.02
7.2.30.0040.01117.14
7.2.20.0000.00917.06
7.2.10.0070.01016.85
7.2.00.0040.00918.20
7.1.250.0060.00915.81
7.1.200.0030.00915.83
7.1.100.0060.00618.41
7.1.70.0050.00317.31
7.1.60.0000.01819.40
7.1.50.0100.01017.15
7.1.00.0000.08022.48
7.0.200.0030.00316.59
7.0.60.0170.05721.82
7.0.50.0030.04017.75
7.0.40.0030.08720.06
7.0.30.0270.04720.13
7.0.20.0300.07320.09
7.0.10.0070.09020.02
7.0.00.0000.05020.04
5.6.280.0000.03321.07
5.6.210.0030.06320.70
5.6.200.0000.08718.23
5.6.190.0130.06720.61
5.6.180.0270.07720.57
5.6.170.0200.04320.50
5.6.160.0030.04320.45
5.6.150.0030.04718.12
5.6.140.0000.04018.08
5.6.130.0000.04318.16
5.6.120.0030.09021.14
5.6.110.0130.08721.13
5.6.100.0130.07321.03
5.6.90.0170.07320.96
5.6.80.0070.05720.28
5.5.350.0170.07320.32
5.5.340.0070.08317.88
5.5.330.0070.04020.29
5.5.320.0530.07020.17
5.5.310.0330.05720.34
5.5.300.0070.03717.95
5.5.290.0000.06317.91
5.5.280.0170.07320.79
5.5.270.0100.04320.75
5.5.260.0130.07720.75
5.5.250.0070.08720.60
5.5.240.0230.07320.18

preferences:
43.38 ms | 401 KiB | 5 Q