3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2015-05-24 00:00:00'); $time = new \DateTime('0000-00-00 21:22:00'); $pickUpDateTime = new \DateTime(); $pickUpDateTime->setDate($date->format('Y'), $date->format('m'), $date->format('d')); $pickUpDateTime->setTime($time->format('H'), $time->format('i'), $time->format('s')); $now = new DateTime("now"); $interval = date_diff($now, $pickUpDateTime); if ( $v = $interval->h >= 1 ) echo ($interval->y*365*24);

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.0070.01418.80
8.3.50.0040.01516.60
8.3.40.0040.01118.72
8.3.30.0040.01118.97
8.3.20.0060.00320.20
8.3.10.0060.00323.61
8.3.00.0060.00323.74
8.2.180.0060.00916.60
8.2.170.0040.01122.96
8.2.160.0140.00020.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00021.11
8.2.120.0030.00626.35
8.2.110.0030.00621.00
8.2.100.0110.00017.93
8.2.90.0030.00519.17
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0040.00418.16
8.2.50.0030.00618.09
8.2.40.0060.00322.37
8.2.30.0040.00419.57
8.2.20.0000.00717.75
8.2.10.0000.00718.00
8.2.00.0000.00718.00
8.1.280.0120.00325.92
8.1.270.0090.00922.23
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0040.00822.60
8.1.230.0110.00017.64
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.60
8.1.190.0000.00917.48
8.1.180.0040.00418.10
8.1.170.0030.00518.79
8.1.160.0000.00720.75
8.1.150.0050.00218.87
8.1.140.0060.00319.59
8.1.130.0040.00417.71
8.1.120.0000.00717.67
8.1.110.0070.00417.54
8.1.100.0040.00417.61
8.1.90.0050.00217.69
8.1.80.0000.00817.62
8.1.70.0040.00417.70
8.1.60.0040.00417.61
8.1.50.0060.00317.63
8.1.40.0000.01017.67
8.1.30.0050.00517.78
8.1.20.0070.00017.75
8.1.10.0040.00417.77
8.1.00.0000.00717.59
8.0.300.0070.00018.77
8.0.290.0040.00417.00
8.0.280.0030.00318.46
8.0.270.0070.00017.34
8.0.260.0030.00317.34
8.0.250.0050.00317.15
8.0.240.0050.00217.05
8.0.230.0070.00017.04
8.0.220.0040.00417.09
8.0.210.0040.00417.07
8.0.200.0000.00717.15
8.0.190.0090.00017.20
8.0.180.0040.00417.15
8.0.170.0000.00817.09
8.0.160.0000.00717.18
8.0.150.0070.00017.04
8.0.140.0000.00717.08
8.0.130.0030.00313.47
8.0.120.0060.00317.05
8.0.110.0000.00717.14
8.0.100.0000.00817.21
8.0.90.0050.00317.07
8.0.80.0070.00717.07
8.0.70.0000.00717.11
8.0.60.0040.00416.95
8.0.50.0030.00317.00
8.0.30.0070.01417.24
8.0.20.0130.00717.40
8.0.10.0070.00017.07
8.0.00.0140.00716.90
7.4.330.0030.00316.84
7.4.320.0030.00316.66
7.4.300.0040.00416.70
7.4.290.0000.00716.64
7.4.280.0030.00516.54
7.4.270.0000.00716.70
7.4.260.0000.00716.64
7.4.250.0000.00816.63
7.4.240.0070.00016.75
7.4.230.0040.00416.72
7.4.220.0070.01716.82
7.4.210.0140.00016.72
7.4.200.0070.00016.58
7.4.160.0070.01016.68
7.4.150.0210.00317.40
7.4.140.0140.00617.86
7.4.130.0060.01216.77
7.4.120.0090.01016.61
7.4.110.0110.00716.60
7.4.100.0070.01016.71
7.4.90.0090.00916.73
7.4.80.0160.00619.39
7.4.70.0100.00716.53
7.4.60.0070.01016.74
7.4.50.0030.01016.68
7.4.40.0160.00016.57
7.4.30.0090.01516.61
7.4.00.0030.01314.92
7.3.330.0030.00313.10
7.3.320.0050.00013.22
7.3.310.0030.00316.39
7.3.300.0000.00716.39
7.3.290.0080.00816.36
7.3.280.0110.00416.34
7.3.270.0080.01117.40
7.3.260.0140.00616.61
7.3.240.0140.00616.62
7.3.230.0080.00816.46
7.3.210.0030.01416.39
7.3.200.0120.00919.39
7.3.190.0060.00916.55
7.3.180.0160.00616.35
7.3.170.0160.00316.48
7.3.160.0000.01616.69
7.2.330.0160.00616.73
7.2.320.0060.01316.76
7.2.310.0130.00316.45
7.2.300.0120.00616.96
7.2.290.0060.01216.86
7.2.60.0080.00516.78
7.2.00.0030.00919.54
7.1.200.0080.00515.75
7.1.100.0040.00818.37
7.1.70.0000.00817.32
7.1.60.0090.01519.28
7.1.50.0030.01017.11
7.1.00.0030.07322.54
7.0.200.0080.00016.95
7.0.60.0070.03721.71
7.0.50.0030.05317.80
7.0.40.0130.07020.23
7.0.30.0270.07020.30
7.0.20.0300.06020.09
7.0.10.0030.09020.16
7.0.00.0100.07720.17
5.6.280.0000.03321.07
5.6.210.0030.09020.76
5.6.200.0100.07718.08
5.6.190.0070.07020.32
5.6.180.0300.03320.41
5.6.170.0400.07020.48
5.6.160.0030.08020.54
5.6.150.0130.08318.15
5.6.140.0030.06318.21
5.6.130.0070.05018.11
5.6.120.0170.06321.03
5.6.110.0030.05021.13
5.6.100.0070.06721.09
5.6.90.0200.07021.00
5.6.80.0100.06720.42
5.5.350.4300.04020.41
5.5.340.0030.03717.97
5.5.330.0100.08020.36
5.5.320.0600.06320.30
5.5.310.0300.06720.28
5.5.300.0070.06017.89
5.5.290.0130.07017.95
5.5.280.0000.04320.88
5.5.270.0170.04720.79
5.5.260.0070.04720.86
5.5.250.0100.08320.79
5.5.240.0170.07320.12

preferences:
89.97 ms | 401 KiB | 5 Q