3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gmt = "-5:00"; $local = "-4:00"; $offset = $local - $gmt; echo $offset; 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.0150.00616.88
8.3.50.0030.01318.43
8.3.40.0080.00619.14
8.3.30.0040.01218.83
8.3.20.0070.00020.00
8.3.10.0000.00821.55
8.3.00.0080.00021.78
8.2.180.0140.00318.43
8.2.170.0090.00622.96
8.2.160.0100.00322.26
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00320.77
8.2.120.0000.00826.35
8.2.110.0000.00921.03
8.2.100.0070.00417.93
8.2.90.0050.00319.26
8.2.80.0000.00917.97
8.2.70.0090.00017.75
8.2.60.0000.00817.93
8.2.50.0030.00518.09
8.2.40.0040.00420.55
8.2.30.0000.00819.57
8.2.20.0000.00717.91
8.2.10.0040.00418.11
8.2.00.0000.00818.17
8.1.280.0100.01025.92
8.1.270.0060.00922.08
8.1.260.0030.00628.09
8.1.250.0050.00228.09
8.1.240.0060.00319.29
8.1.230.0070.00417.83
8.1.220.0040.00417.77
8.1.210.0000.00818.77
8.1.200.0030.00617.48
8.1.190.0000.00817.48
8.1.180.0030.00518.10
8.1.170.0060.00318.63
8.1.160.0040.00420.75
8.1.150.0080.00018.88
8.1.140.0000.00819.55
8.1.130.0030.00317.70
8.1.120.0030.00317.49
8.1.110.0040.00417.54
8.1.100.0040.00417.53
8.1.90.0050.00217.59
8.1.80.0060.00317.52
8.1.70.0030.00317.52
8.1.60.0000.00717.70
8.1.50.0000.00817.65
8.1.40.0040.00717.62
8.1.30.0040.00417.80
8.1.20.0080.00017.66
8.1.10.0020.00517.64
8.1.00.0030.00617.61
8.0.300.0050.00319.09
8.0.290.0070.00017.00
8.0.280.0000.00718.41
8.0.270.0040.00417.31
8.0.260.0050.00317.25
8.0.250.0070.00017.17
8.0.240.0000.00617.25
8.0.230.0070.00017.05
8.0.220.0040.00417.09
8.0.210.0000.00716.97
8.0.200.0040.00417.03
8.0.190.0080.00017.02
8.0.180.0000.00717.19
8.0.170.0000.00717.12
8.0.160.0040.00416.98
8.0.150.0030.00516.94
8.0.140.0030.00517.11
8.0.130.0050.00013.41
8.0.120.0040.00417.05
8.0.110.0000.00717.04
8.0.100.0030.00517.01
8.0.90.0040.00317.15
8.0.80.0100.00317.06
8.0.70.0040.00416.96
8.0.60.0000.00817.00
8.0.50.0040.00416.97
8.0.30.0120.00817.44
8.0.20.0120.00717.44
8.0.10.0050.00217.17
8.0.00.0080.00916.88
7.4.330.0000.00516.83
7.4.320.0030.00316.62
7.4.300.0060.00016.73
7.4.290.0030.00316.73
7.4.280.0080.00016.80
7.4.270.0000.00716.62
7.4.260.0070.00316.64
7.4.250.0000.00716.68
7.4.240.0000.00716.63
7.4.230.0050.00216.55
7.4.220.0120.00616.67
7.4.210.0030.01616.75
7.4.200.0030.00516.75
7.4.160.0150.00016.80
7.4.150.0120.00617.40
7.4.140.0140.00817.86
7.4.130.0110.01016.76
7.4.120.0080.00916.61
7.4.110.0070.01116.71
7.4.100.0100.01316.61
7.4.90.0100.01016.68
7.4.80.0140.00719.39
7.4.70.0130.00316.48
7.4.60.0070.01416.66
7.4.50.0040.01116.60
7.4.40.0100.01116.85
7.4.30.0110.00716.53
7.4.00.0070.01115.24
7.3.330.0000.00513.38
7.3.320.0000.00513.38
7.3.310.0070.00016.65
7.3.300.0040.00416.48
7.3.290.0080.01116.44
7.3.280.0140.00516.44
7.3.270.0170.00017.40
7.3.260.0070.01016.75
7.3.250.0120.00416.50
7.3.240.0110.00816.57
7.3.230.0030.01316.59
7.3.210.0090.01216.64
7.3.200.0080.00816.67
7.3.190.0080.00816.57
7.3.180.0130.00316.51
7.3.170.0090.01216.52
7.3.160.0100.00716.49
7.3.10.0030.00616.84
7.3.00.0000.01316.91
7.2.330.0140.00316.59
7.2.320.0090.01216.45
7.2.310.0060.01016.54
7.2.300.0050.01116.79
7.2.290.0120.01516.54
7.2.130.0060.00617.00
7.2.120.0100.00317.13
7.2.110.0070.00916.79
7.2.100.0070.01117.14
7.2.90.0000.01516.97
7.2.80.0070.00317.03
7.2.70.0080.00617.09
7.2.60.0030.00816.92
7.2.50.0030.00617.04
7.2.40.0070.00716.88
7.2.30.0060.00616.64
7.2.20.0040.00817.04
7.2.10.0110.00316.73
7.2.00.0060.00718.04
7.1.250.0040.00816.05
7.1.200.0070.00315.75
7.1.100.0030.00518.46
7.1.70.0050.00317.28
7.1.60.0070.00719.40
7.1.50.0090.01316.83
7.1.00.0100.07022.33
7.0.200.0070.00317.04
7.0.60.0270.06721.82
7.0.50.0000.04317.92
7.0.40.0070.05020.40
7.0.30.0270.06720.02
7.0.20.0330.07320.21
7.0.10.0070.05320.09
7.0.00.0070.08720.19
5.6.280.0030.04720.85
5.6.210.0130.08020.49
5.6.200.0130.08318.22
5.6.190.0070.07720.27
5.6.180.0270.08320.27
5.6.170.0170.04320.62
5.6.160.0000.04720.37
5.6.150.0100.07318.15
5.6.140.0000.04018.22
5.6.130.0030.04018.11
5.6.120.0030.04720.98
5.6.110.0100.08021.07
5.6.100.0130.08020.98
5.6.90.0100.05720.94
5.6.80.0100.06720.38
5.5.350.0130.07320.40
5.5.340.0070.05718.01
5.5.330.0130.03020.40
5.5.320.0630.07320.30
5.5.310.0270.06020.18
5.5.300.0000.04317.87
5.5.290.0070.08018.01
5.5.280.0100.08020.84
5.5.270.0170.07020.79
5.5.260.0130.08020.78
5.5.250.0070.07720.54
5.5.240.0200.08020.25

preferences:
46.34 ms | 400 KiB | 5 Q