3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date('Y-m-d'); $start = strtotime('2013-12-25'); $end = strtotime('2013-12-26'); $timestamp = strtotime($date); if($timestamp >= $start && $timestamp <= $end) { echo "The date $date is within our date range\n"; } else { echo "The date $date is NOT within our date range\n"; } }

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)
5.4.240.0100.04612.38
5.4.230.0160.04512.38
5.4.220.0120.05012.38
5.4.210.0130.04912.38
5.4.200.0090.05312.38
5.4.190.0120.04112.37
5.4.180.0090.04212.37
5.4.170.0170.03912.38
5.4.160.0140.03812.37
5.4.150.0110.04012.37
5.4.140.0130.03812.06
5.4.130.0130.04712.04
5.4.120.0120.04712.01
5.4.110.0120.04212.00
5.4.100.0130.04712.01
5.4.90.0150.04712.00
5.4.80.0100.04712.00
5.4.70.0090.04111.99
5.4.60.0200.06311.99
5.4.50.0130.03812.00
5.4.40.0120.03611.98
5.4.30.0120.04411.98
5.4.20.0140.04511.97
5.4.10.0120.03911.98
5.4.00.0100.04111.47
5.3.280.0120.04212.71
5.3.270.0120.04312.72
5.3.260.0150.04112.72
5.3.250.0130.04112.72
5.3.240.0160.05012.72
5.3.230.0120.04312.71
5.3.220.0120.04312.68
5.3.210.0190.07512.68
5.3.200.0130.03812.68
5.3.190.0100.04312.67
5.3.180.0130.03912.67
5.3.170.0120.04112.67
5.3.160.0120.04112.67
5.3.150.0130.04012.67
5.3.140.0140.04912.66
5.3.130.0190.06612.66
5.3.120.0140.04312.65
5.3.110.0130.04112.66
5.3.100.0160.04812.12
5.3.90.0140.04712.08
5.3.80.0190.05812.08
5.3.70.0120.04912.08
5.3.60.0120.05012.06
5.3.50.0130.04612.00
5.3.40.0110.04312.00
5.3.30.0100.04411.95
5.3.20.0100.04811.71
5.3.10.0120.04111.68
5.3.00.0120.04711.67

preferences:
138.93 ms | 1398 KiB | 7 Q