3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = strtotime('2017-09-01 23:00:00'); $stop = strtotime('2017-09-02 01:34:00'); $hours = ($stop - $start) / 3600; echo round($hours, 2); // 2.57

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.5.10.0100.00719.67
8.5.00.0140.00720.21
8.4.150.0010.00114.05
8.4.140.0210.01117.34
8.4.130.0070.00418.04
8.4.120.0110.00923.74
8.4.110.0080.01222.40
8.4.100.0090.00417.88
8.4.90.0090.00920.47
8.4.80.0130.00718.96
8.4.70.0060.00320.56
8.4.60.0130.00920.55
8.4.50.0090.01118.67
8.4.40.0170.00317.57
8.4.30.0090.00923.81
8.4.20.0170.00319.77
8.4.10.0130.00619.33
8.3.280.0120.00718.65
8.3.270.0110.00816.75
8.3.260.0110.00816.59
8.3.250.0100.00518.95
8.3.240.0120.00517.21
8.3.230.0130.00716.52
8.3.220.0090.00718.73
8.3.210.0140.00716.62
8.3.200.0130.00616.82
8.3.190.0050.00518.87
8.3.180.0110.00818.78
8.3.170.0070.01118.86
8.3.160.0110.00720.75
8.3.150.0070.01117.05
8.3.140.0050.00316.48
8.3.130.0080.00316.44
8.3.120.0150.00419.04
8.3.110.0070.01318.55
8.3.100.0400.01016.29
8.3.90.0380.00716.96
8.3.80.0350.00316.25
8.3.70.0190.00416.53
8.3.60.0340.00716.27
8.3.50.0190.01016.68
8.3.40.0230.00917.82
8.3.30.0160.00917.59
8.3.20.0150.00417.43
8.3.10.0140.00517.45
8.3.00.0110.00017.38
8.2.290.0110.00820.45
8.2.280.0110.00918.28
8.2.270.0190.00016.74
8.2.260.0140.00016.54
8.2.250.0000.00818.38
8.2.240.0090.00617.00
8.2.230.0100.01016.43
8.2.220.0220.00416.59
8.2.210.0190.00416.75
8.2.200.0140.00616.63
8.2.190.0090.00916.43
8.2.180.0190.00016.63
8.2.170.0120.00817.94
8.2.160.0130.00717.66
8.2.150.0210.01417.90
8.2.140.0170.00317.70
8.2.130.0200.00317.48
8.2.120.0210.00317.64
8.2.110.0210.00017.44
8.2.100.0300.01017.62
8.2.90.0260.01517.58
8.2.80.0380.00317.64
8.2.70.0350.00617.66
8.2.60.0340.00817.69
8.2.50.0300.01117.52
8.2.40.0320.00617.52
8.2.30.0260.01317.56
8.2.20.0270.00817.80
8.2.10.0450.00817.57
8.2.00.0350.00717.64
8.1.330.0130.00721.80
8.1.320.0090.01118.06
8.1.310.0070.00716.73
8.1.300.0060.01219.98
8.1.290.0380.00616.06
8.1.280.0280.01216.16
8.1.270.0310.00817.61
8.1.260.0190.01517.65
8.1.250.0350.00617.35
8.1.240.0310.00517.36
8.1.230.0350.00017.29
8.1.220.0280.00717.30
8.1.210.0330.01017.21
8.1.200.0360.00417.52
8.1.190.0380.00317.33
8.1.180.0330.00817.15
8.1.170.0240.01217.25
8.1.160.0340.00417.44
8.1.150.0170.02117.33
8.1.140.0350.00417.27
8.1.130.0290.00417.44
8.1.120.0280.00717.18
8.1.110.0180.01217.47
8.1.100.0330.00417.57
8.1.90.0230.01317.41
8.1.80.0240.01017.51
8.1.70.0250.01217.43
8.1.60.0280.01417.43
8.1.50.0270.01417.62
8.1.40.0340.00717.23
8.1.30.0380.00317.04
8.1.20.0370.01117.46
8.1.10.0480.00317.57
8.1.00.0300.01617.18

preferences:
72.02 ms | 403 KiB | 5 Q