3v4l.org

run code in 300+ PHP versions simultaneously
<?php $promo_date = array( 'start' => '2016-04-01 00:00:00', 'end' => '2016-05-31 23:59:59' ); $time = time(); var_dump($time >= strtotime($promo_date['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)
7.2.60.0030.01016.91
7.2.00.0060.00619.58
7.1.200.0130.00815.67
7.1.100.0000.01318.08
7.1.70.0040.00417.25
7.1.60.0140.01120.41
7.1.00.0000.08022.28
7.0.200.0240.00715.09
7.0.90.0500.08319.93
7.0.80.0230.04319.84
7.0.70.0400.07019.88
7.0.60.0370.08319.91
7.0.50.0330.08320.24
7.0.40.0070.08319.95
7.0.30.0100.06720.08
7.0.20.0030.08320.05
7.0.10.0170.06720.18
7.0.00.0070.05020.04
5.6.280.0100.06721.07
5.6.240.0100.06720.59
5.6.230.0000.07320.68
5.6.220.0100.05020.57
5.6.210.0100.07720.42
5.6.200.0000.09021.06
5.6.190.0030.08321.04
5.6.180.0100.07721.05
5.6.170.0130.06321.13
5.6.160.0030.08721.04
5.6.150.0070.07721.02
5.6.140.0130.07721.04
5.6.130.0070.08721.13
5.6.120.0100.08021.01
5.6.110.0030.08721.07
5.6.100.0200.07021.06
5.6.90.0030.06021.11
5.6.80.0070.04320.39
5.6.70.0100.04020.40
5.6.60.0200.06020.49
5.6.50.0130.06720.54
5.6.40.0170.05020.29
5.6.30.0070.05720.27
5.6.20.0130.08020.30
5.6.10.0070.08320.42
5.6.00.0130.05020.27
5.5.380.0070.07720.40
5.5.370.0100.07020.41
5.5.360.0030.05020.34
5.5.350.0000.08320.37
5.5.340.0100.08320.75
5.5.330.0000.07720.87
5.5.320.0100.08320.81
5.5.310.0130.07320.82
5.5.300.0100.08720.76
5.5.290.0030.08320.84
5.5.280.0130.07720.80
5.5.270.0130.06020.81
5.5.260.0030.09020.63
5.5.250.0130.07720.45
5.5.240.0000.07320.26
5.5.230.0100.04020.20
5.5.220.0070.07720.29
5.5.210.0070.08020.01
5.5.200.0100.07720.18
5.5.190.0100.07020.24
5.5.180.0070.04720.26
5.5.160.0030.08020.23
5.5.150.0200.03320.22
5.5.140.0200.06320.14
5.5.130.0070.03720.13
5.5.120.0100.07320.18
5.5.110.0130.06720.10
5.5.100.0130.04720.15
5.5.90.0130.04719.93
5.5.80.0070.07319.97
5.5.70.0030.08019.95
5.5.60.0170.03020.13
5.5.50.0070.06320.12
5.5.40.0030.08320.09
5.5.30.0130.06020.04
5.5.20.0030.03720.02
5.5.10.0070.05020.01
5.5.00.0030.03720.10

preferences:
36.32 ms | 400 KiB | 5 Q