3v4l.org

run code in 300+ PHP versions simultaneously
<?php $eastern = new \DateTimeZone( 'America/New_York' ); $time = new \DateTime( 'now', $eastern ); $ad_active_time_start = new \DateTime( 'December 18, 2015 9:00am', $eastern ); $ad_active_time_end = new \DateTime( 'December 19, 2015 10:00am', $eastern ); var_dump( $time > $ad_active_time_start ); var_dump( $ad_active_time_end > $ad_active_time_start ); echo $ad_active_time_end - $ad_active_time_start;

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.0090.00616.88
8.3.50.0090.00616.64
8.3.40.0040.01119.07
8.3.30.0170.00718.92
8.3.20.0110.00320.22
8.3.10.0040.00423.48
8.3.00.0080.00023.53
8.2.180.0030.01516.63
8.2.170.0080.00822.96
8.2.160.0040.01120.52
8.2.150.0030.00525.66
8.2.140.0050.00324.66
8.2.130.0080.00019.95
8.2.120.0080.00026.35
8.2.110.0030.00618.96
8.2.100.0000.01117.88
8.2.90.0050.00318.34
8.2.80.0060.00317.97
8.2.70.0040.00417.88
8.2.60.0040.00418.01
8.2.50.0040.00418.07
8.2.40.0030.00522.36
8.2.30.0000.00720.68
8.2.20.0020.00517.94
8.2.10.0000.00718.19
8.2.00.0050.00218.03
8.1.280.0140.00725.92
8.1.270.0080.00024.02
8.1.260.0080.00328.09
8.1.250.0000.00828.09
8.1.240.0030.00620.80
8.1.230.0120.00020.91
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00717.60
8.1.190.0050.00317.50
8.1.180.0030.00618.10
8.1.170.0040.00418.78
8.1.160.0070.00020.84
8.1.150.0040.00418.95
8.1.140.0090.00019.65
8.1.130.0000.00717.71
8.1.120.0000.00717.61
8.1.110.0070.00017.74
8.1.100.0030.00517.66
8.1.90.0060.00317.67
8.1.80.0040.00417.73
8.1.70.0050.00217.64
8.1.60.0000.00917.60
8.1.50.0030.00617.70
8.1.40.0060.00317.71
8.1.30.0040.00417.62
8.1.20.0070.00017.74
8.1.10.0040.00417.71
8.1.00.0050.00317.55
8.0.300.0030.00320.09
8.0.290.0000.00816.88
8.0.280.0000.00718.38
8.0.270.0030.00317.39
8.0.260.0110.00017.36
8.0.250.0030.00317.27
8.0.240.0050.00317.26
8.0.230.0000.00817.11
8.0.220.0000.00717.07
8.0.210.0000.00717.12
8.0.200.0030.00317.18
8.0.190.0050.00317.15
8.0.180.0020.00517.04
8.0.170.0080.00017.07
8.0.160.0030.00517.05
8.0.150.0030.00316.95
8.0.140.0070.00016.96
8.0.130.0030.00313.58
8.0.120.0040.00417.13
8.0.110.0070.00017.00
8.0.100.0000.00717.00
8.0.90.0070.00017.00
8.0.80.0130.00317.13
8.0.70.0000.00717.01
8.0.60.0080.00017.04
8.0.50.0000.00717.16
8.0.30.0080.00917.28
8.0.20.0120.00717.40
8.0.10.0000.00717.38
8.0.00.0100.00916.90
7.4.330.0000.00516.84
7.4.320.0030.00316.64
7.4.300.0040.00416.77
7.4.290.0030.00316.63
7.4.280.0030.00616.67
7.4.270.0040.00416.64
7.4.260.0030.00316.75
7.4.250.0000.00716.54
7.4.240.0050.00216.69
7.4.230.0040.00416.63
7.4.220.0060.01216.72
7.4.210.0060.01016.64
7.4.200.0000.00716.65
7.4.160.0160.00016.81
7.4.150.0040.01417.40
7.4.140.0100.00917.86
7.4.130.0130.00616.64
7.4.120.0110.00816.70
7.4.110.0120.01116.68
7.4.100.0080.01416.56
7.4.90.0120.00916.66
7.4.80.0060.01619.39
7.4.70.0070.01016.62
7.4.60.0080.00916.70
7.4.50.0060.00616.44
7.4.40.0140.00416.84
7.4.30.0100.00716.71
7.4.00.0070.01215.27
7.3.330.0040.00213.25
7.3.320.0040.00413.29
7.3.310.0070.00016.23
7.3.300.0030.00316.33
7.3.290.0070.01216.45
7.3.280.0130.00816.39
7.3.270.0060.01217.40
7.3.260.0100.00716.41
7.3.240.0120.00716.54
7.3.230.0030.01316.39
7.3.210.0070.01016.61
7.3.200.0070.01019.39
7.3.190.0120.00616.46
7.3.180.0130.00316.62
7.3.170.0140.00316.77
7.3.160.0040.01116.46
7.3.120.0110.00815.13
7.3.110.0020.01314.82
7.3.100.0050.01114.96
7.3.90.0090.00814.97
7.3.80.0060.00614.91
7.3.70.0050.00914.80
7.3.60.0030.01014.81
7.3.50.0070.00914.88
7.3.40.0110.00114.88
7.3.30.0060.00914.95
7.3.20.0050.01216.79
7.3.10.0090.00716.67
7.3.00.0080.00916.68
7.2.330.0130.00316.53
7.2.320.0100.00716.80
7.2.310.0030.01416.61
7.2.300.0100.01016.88
7.2.290.0060.01016.66
7.2.250.0150.00415.18
7.2.240.0080.00615.14
7.2.230.0030.01515.24
7.2.220.0080.00915.11
7.2.210.0060.01115.03
7.2.200.0030.01015.15
7.2.190.0000.01315.11
7.2.180.0070.01015.21
7.2.170.0070.01015.08
7.2.160.0070.01115.23
7.2.150.0040.01317.04
7.2.140.0130.00817.02
7.2.130.0090.00416.71
7.2.120.0100.01017.03
7.2.110.0150.00317.09
7.2.100.0120.00316.90
7.2.90.0130.00317.04
7.2.80.0110.01116.94
7.2.70.0160.00816.93
7.2.60.0140.00716.70
7.2.50.0070.00716.95
7.2.40.0080.01117.04
7.2.30.0110.00717.14
7.2.20.0050.01117.08
7.2.10.0040.01316.60
7.2.00.0080.00918.26
7.1.330.0060.00515.94
7.1.320.0060.01115.95
7.1.310.0100.00615.83
7.1.300.0090.00815.71
7.1.290.0040.00916.01
7.1.280.0070.01115.91
7.1.270.0050.00915.91
7.1.260.0030.01115.80
7.1.250.0150.00316.05
7.1.200.0000.01415.94
7.1.70.0080.00017.50
7.1.60.0130.01319.27
7.1.50.0000.01916.87
7.1.00.0100.07022.51
7.0.200.0000.01117.09
7.0.60.0170.07321.79
7.0.50.0100.07717.88
7.0.40.0070.08720.05
7.0.30.0270.07720.13
7.0.20.0270.07020.09
7.0.10.0100.05720.19
7.0.00.0070.05720.23
5.6.280.0000.03321.10
5.6.210.0030.04320.71
5.6.200.0030.04718.22
5.6.190.0000.08720.57
5.6.180.0300.04020.61
5.6.170.0200.04320.42
5.6.160.0070.04020.71
5.6.150.0070.04018.12
5.6.140.0070.03718.07
5.6.130.0000.04318.15
5.6.120.0170.06721.11
5.6.110.0030.06720.98
5.6.100.0070.08321.00
5.6.90.0000.05321.05
5.6.80.0070.08320.38
5.5.350.0070.06720.40
5.5.340.0070.08317.89
5.5.330.0030.04320.13
5.5.320.0200.04720.30
5.5.310.0230.04020.29
5.5.300.0070.08017.87
5.5.290.0100.07717.98
5.5.280.0030.04020.79
5.5.270.0130.08320.86
5.5.260.0100.07020.83
5.5.250.0030.08320.77
5.5.240.0230.07020.36

preferences:
45.59 ms | 400 KiB | 5 Q