3v4l.org

run code in 300+ PHP versions simultaneously
<?php $run_time = '2016-10-27 10:00:00'; $entry_date = '2016-10-20 11:00:00'; $days_to_dial = 7*(1/24); if ( ((strtotime($run_time)-strtotime($entry_date))/3600) >= $days_to_dial*24 ) { echo strtotime($run_time).PHP_EOL; echo strtotime($entry_date).PHP_EOL; } else { echo 'false'; }

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.0120.00616.88
8.3.50.0130.00316.54
8.3.40.0140.00318.84
8.3.30.0120.00318.83
8.3.20.0000.00818.55
8.3.10.0070.00721.82
8.3.00.0040.00421.73
8.2.180.0070.00718.41
8.2.170.0150.00322.96
8.2.160.0110.00422.16
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00419.76
8.2.120.0040.00426.35
8.2.110.0060.00319.45
8.2.100.0100.00318.03
8.2.90.0030.00517.88
8.2.80.0040.00817.97
8.2.70.0040.00418.16
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0020.00520.55
8.2.30.0000.00721.17
8.2.20.0000.00718.05
8.2.10.0040.00418.04
8.2.00.0030.00617.93
8.1.280.0110.00425.92
8.1.270.0040.00423.84
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0080.00320.85
8.1.220.0000.00917.79
8.1.210.0060.00318.77
8.1.200.0040.00417.35
8.1.190.0000.00817.48
8.1.180.0040.00418.10
8.1.170.0000.00818.79
8.1.160.0080.00023.95
8.1.150.0040.00420.65
8.1.140.0040.00419.69
8.1.130.0000.00717.83
8.1.120.0000.00717.59
8.1.110.0050.00317.54
8.1.100.0000.00717.57
8.1.90.0040.00417.66
8.1.80.0000.00717.53
8.1.70.0000.00717.54
8.1.60.0040.00417.75
8.1.50.0030.00517.58
8.1.40.0080.00017.63
8.1.30.0000.00817.62
8.1.20.0000.00717.76
8.1.10.0040.00417.71
8.1.00.0070.00417.70
8.0.300.0080.00020.02
8.0.290.0080.00016.88
8.0.280.0030.00318.44
8.0.270.0050.00317.20
8.0.260.0030.00317.21
8.0.250.0070.00017.18
8.0.240.0040.00417.13
8.0.230.0030.00317.15
8.0.220.0070.00017.09
8.0.210.0000.00817.05
8.0.200.0000.00617.02
8.0.190.0040.00417.16
8.0.180.0000.00717.12
8.0.170.0000.00817.07
8.0.160.0040.00417.09
8.0.150.0050.00317.16
8.0.140.0000.00717.08
8.0.130.0040.00413.43
8.0.120.0000.00717.07
8.0.110.0040.00417.07
8.0.100.0040.00417.06
8.0.90.0080.00017.16
8.0.80.0090.00917.16
8.0.70.0020.00517.09
8.0.60.0050.00216.91
8.0.50.0000.00716.90
8.0.30.0120.00817.16
8.0.20.0090.01017.41
8.0.10.0000.00717.20
8.0.00.0040.01516.72
7.4.330.0020.00215.55
7.4.320.0060.00016.58
7.4.300.0030.00316.58
7.4.290.0030.00316.71
7.4.280.0040.00416.67
7.4.270.0070.00016.57
7.4.260.0030.00316.58
7.4.250.0030.00316.59
7.4.240.0000.00716.59
7.4.230.0000.00716.66
7.4.220.0060.01216.60
7.4.210.0070.00716.54
7.4.200.0070.00016.48
7.4.160.0100.00716.66
7.4.150.0030.01417.40
7.4.140.0040.01317.86
7.4.130.0120.00716.61
7.4.120.0120.00516.80
7.4.110.0090.00916.52
7.4.100.0140.00416.56
7.4.90.0060.01216.74
7.4.80.0070.01019.39
7.4.70.0070.01016.88
7.4.60.0090.00916.61
7.4.50.0060.00916.40
7.4.40.0130.00316.64
7.4.30.0090.00916.49
7.4.00.0030.01215.05
7.3.330.0050.00013.13
7.3.320.0000.00513.25
7.3.310.0070.00016.36
7.3.300.0080.00016.43
7.3.290.0030.00316.38
7.3.280.0090.00916.37
7.3.270.0100.00717.40
7.3.260.0120.00416.50
7.3.250.0130.00416.59
7.3.240.0130.00816.49
7.3.230.0000.01616.71
7.3.210.0100.01016.50
7.3.200.0100.00716.45
7.3.190.0080.00816.57
7.3.180.0090.01516.90
7.3.170.0130.01016.73
7.3.160.0060.00916.62
7.2.330.0060.01216.96
7.2.320.0070.01016.56
7.2.310.0060.01116.90
7.2.300.0090.00916.96
7.2.290.0130.00316.79
7.2.60.0100.00316.81
7.2.50.0040.00817.09
7.2.00.0080.00419.65
7.1.200.0090.00615.86
7.1.70.0000.00717.38
7.1.60.0030.00717.35
7.1.00.0000.08022.31
7.0.200.0080.00415.12
7.0.120.0070.05322.16
7.0.110.0030.06322.06
7.0.100.0030.05722.13
7.0.90.0100.06022.07
7.0.80.0130.05022.13
7.0.70.0100.05322.09
7.0.60.0070.05722.02
7.0.50.0070.05722.05
7.0.40.0070.05322.15
7.0.30.0100.05022.08
7.0.20.0000.06721.98
7.0.10.0030.05722.07
7.0.00.0270.05722.14
5.6.270.0100.05720.98
5.6.260.0030.07020.80
5.6.250.0070.05720.83
5.6.240.0070.06320.84
5.6.230.0030.06720.84
5.6.220.0130.05320.84
5.6.210.0100.05720.83
5.6.200.0070.05721.03
5.6.190.0070.06021.00
5.6.180.0070.06020.89
5.6.170.0170.05720.82
5.6.160.0100.07721.05
5.6.150.0100.08020.82
5.6.140.0100.06720.99
5.6.130.0100.05721.02
5.6.120.0100.05720.98
5.6.110.0070.08720.73
5.6.100.0070.08020.98
5.6.90.0070.05720.91
5.6.80.0170.05020.13
5.6.70.0100.05720.35
5.6.60.0170.05020.38
5.6.50.0130.06320.38
5.6.40.0100.04720.18
5.6.30.0130.04720.35
5.6.20.0030.05720.27
5.6.10.0000.05720.41
5.6.00.0100.05020.18

preferences:
45.41 ms | 400 KiB | 5 Q