3v4l.org

run code in 300+ PHP versions simultaneously
<?php function doo($start, $end, $noow){ //Check if we are within the set time $start = Date("Hi", strtotime($start)); $end = Date("Hi", strtotime($end)); $now = Date("Hi", strtotime($now)); if($start < $now && $end > $now){ //We need to validate before sending. echo "Good"; } } do("8:00", "5:00", "10:00");

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.290.0050.04012.50
5.4.280.0070.03812.40
5.4.270.0040.03812.40
5.4.260.0030.04212.39
5.4.250.0080.04312.40
5.4.240.0100.04912.40
5.4.230.0100.04012.39
5.4.220.0070.04112.39
5.4.210.0070.03712.39
5.4.200.0080.05112.39
5.4.190.0110.04712.39
5.4.180.0090.04412.38
5.4.170.0050.03912.39
5.4.160.0040.03712.39
5.4.150.0050.03612.38
5.4.140.0080.04812.07
5.4.130.0100.04412.05
5.4.120.0080.05312.02
5.4.110.0070.05112.02
5.4.100.0190.05512.01
5.4.90.0080.05312.02
5.4.80.0100.04912.01
5.4.70.0060.05112.01
5.4.60.0080.05012.01
5.4.50.0070.04512.01
5.4.40.0060.03512.00
5.4.30.0130.05212.00
5.4.20.0110.03611.99
5.4.10.0050.04411.99
5.4.00.0090.03511.49
5.3.280.0100.03912.71
5.3.270.0100.05412.72
5.3.260.0150.04412.72
5.3.250.0110.04612.72
5.3.240.0060.04112.72
5.3.230.0050.03812.71
5.3.220.0070.03712.68
5.3.210.0080.03812.68
5.3.200.0060.03812.68
5.3.190.0070.03712.68
5.3.180.0070.03912.67
5.3.170.0100.03912.67
5.3.160.0140.05912.68
5.3.150.0070.04412.67
5.3.140.0090.05312.66
5.3.130.0120.07312.66
5.3.120.0100.06512.66
5.3.110.0160.06012.66
5.3.100.0130.06512.13
5.3.90.0120.06112.10
5.3.80.0130.05512.09
5.3.70.0100.05712.09
5.3.60.0120.05912.08
5.3.50.0160.06512.04
5.3.40.0110.07212.03
5.3.30.0120.08011.98
5.3.20.0120.09011.76
5.3.10.0070.06511.73
5.3.00.0080.04211.72

preferences:
148.18 ms | 1394 KiB | 7 Q