3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zone=new DateTimeZone("America/Edmonton"); $o1=$zone->getOffset(new DateTime("2012-01-01",$zone))/3600; $o2=$zone->getOffset(new DateTime("2012-08-01",$zone))/3600; echo "2012-01-01: ".($o1==-7?"Pass":"Fail ($o1)")."\n"; echo "2012-08-01: ".($o2==-6?"Pass":"Fail ($o2)")."\n";

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.1.100.0040.00417.71
8.1.90.0040.00417.68
8.1.80.0070.00317.70
8.1.70.0020.00517.55
8.1.60.0000.00817.61
8.1.50.0080.00017.69
8.1.40.0040.00417.66
8.1.30.0050.00317.72
8.1.20.0040.00417.82
8.1.10.0080.00017.58
8.1.00.0070.00017.52
8.0.230.0050.00217.12
8.0.220.0040.00417.06
8.0.210.0070.00016.98
8.0.200.0030.00317.12
8.0.190.0080.00017.04
8.0.180.0040.00417.09
8.0.170.0080.00416.96
8.0.160.0030.00317.11
8.0.150.0050.00316.98
8.0.140.0040.00717.05
8.0.130.0000.00613.47
8.0.120.0000.00817.04
8.0.110.0040.00416.95
8.0.100.0080.00016.93
8.0.90.0070.00017.05
8.0.80.0060.01217.04
8.0.70.0070.00017.12
8.0.60.0040.00417.01
8.0.50.0030.00516.89
8.0.30.0130.00317.43
8.0.20.0090.01217.45
8.0.10.0040.00417.04
8.0.00.0080.01317.86
7.4.300.0050.00216.65
7.4.290.0030.00616.64
7.4.280.0000.00816.61
7.4.270.0040.00416.52
7.4.260.0030.00313.39
7.4.250.0000.00716.66
7.4.240.0000.00716.52
7.4.230.0030.00316.65
7.4.220.0020.00516.58
7.4.210.0080.00716.71
7.4.200.0050.00216.46
7.4.140.0000.01617.86
7.4.130.0140.00517.86
7.4.120.0080.01117.86
7.4.110.0030.01417.86
7.4.100.0120.00617.86
7.4.90.0100.00717.86
7.4.80.0150.00617.86
7.4.70.0130.01017.86
7.4.60.0090.01217.86
7.4.50.0180.00017.86
7.4.40.0150.00317.86
7.4.30.0130.00717.86
7.4.20.0090.00917.86
7.4.10.0110.00717.86
7.4.00.0120.00917.86
7.3.330.0030.00316.48
7.3.320.0060.00013.31
7.3.310.0030.00316.33
7.3.300.0000.00616.43
7.3.290.0090.00716.41
7.3.260.0120.00917.86
7.3.250.0160.00317.86
7.3.240.0040.01817.86
7.3.230.0080.01017.86
7.3.220.0090.00817.86
7.3.210.0120.00617.86
7.3.200.0130.00817.86
7.3.190.0160.00617.86
7.3.180.0060.01417.86
7.3.170.0160.00317.86
7.3.160.0130.00717.86
7.3.150.0090.01117.86
7.3.140.0080.01117.86
7.3.130.0140.00617.86
7.3.120.0130.00717.86
7.3.110.0140.00517.86
7.3.100.0150.00417.86
7.3.90.0110.00717.86
7.3.80.0000.02017.86
7.3.70.0090.01217.86
7.3.60.0130.00617.86
7.3.50.0060.01617.86
7.3.40.0070.01117.86
7.3.30.0080.01217.86
7.3.20.0100.01017.86
7.3.10.0120.00817.86
7.3.00.0130.00717.86

preferences:
12.2 ms | 406 KiB | 5 Q