3v4l.org

run code in 500+ PHP versions simultaneously
<?php $time = '1985-04-19T19:12:11'; $timeOnly = DateTime::createFromFormat("!????-??-??\TH:i:s+", $time); $begin = DateTime::createFromFormat('!H:i', '18:00'); $end = DateTime::createFromFormat('!H:i', '22:00'); var_dump($timeOnly, $begin, $end, $timeOnly > $begin, $timeOnly < $end);

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.5.60.0060.01116.84
8.5.50.0030.00416.49
8.5.30.0130.00519.00
8.5.20.0140.00719.64
8.5.10.0140.00616.93
8.5.00.0140.01020.04
8.4.210.0140.00519.41
8.4.180.0140.00819.73
8.4.170.0140.01123.89
8.4.160.0150.00625.67
8.4.150.0060.00617.80
8.4.140.0130.00817.53
8.4.130.0090.01117.77
8.4.120.0130.00620.71
8.4.110.0130.00722.19
8.4.100.0110.01017.85
8.4.90.0120.00818.06
8.4.80.0050.00319.49
8.4.70.0120.00817.83
8.4.60.0130.00918.99
8.4.50.0120.01017.95
8.4.40.0040.00417.73
8.4.30.0030.01720.64
8.4.20.0100.00718.04
8.4.10.0040.01219.59
8.3.300.0130.00818.37
8.3.290.0130.00720.73
8.3.280.0120.00718.63
8.3.270.0120.00816.79
8.3.260.0110.00816.75
8.3.250.0120.00618.95
8.3.240.0140.00516.30
8.3.230.0070.00616.73
8.3.220.0110.00716.78
8.3.210.0120.00816.73
8.3.200.0100.00916.44
8.3.190.0100.01016.90
8.3.180.0140.00416.71
8.3.170.0080.00616.63
8.3.160.0030.00618.39
8.3.150.0160.00016.57
8.3.140.0040.01519.18
8.3.130.0060.00318.50
8.3.120.0100.00620.79
8.3.110.0060.00918.45
8.3.100.0130.00318.21
8.3.90.0000.00826.77
8.3.80.0060.00316.63
8.3.70.0110.01116.58
8.3.60.0110.00718.31
8.3.50.0150.00319.84
8.3.40.0060.00918.74
8.3.30.0120.00318.58
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.300.0140.00818.29
8.2.290.0130.00620.66
8.2.280.0030.00520.36
8.2.270.0030.01619.09
8.2.260.0100.01016.78
8.2.250.0000.00818.45
8.2.240.0120.00417.09
8.2.230.0030.00620.94
8.2.220.0100.00024.06
8.2.210.0040.00426.77
8.2.200.0030.00618.41
8.2.190.0100.01316.63
8.2.180.0100.01425.92
8.2.170.0090.00619.08
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0090.00020.51
8.2.100.0030.00719.06
8.1.340.0140.00717.63
8.1.330.0110.00819.98
8.1.320.0080.01116.34
8.1.310.0140.00318.47
8.1.300.0040.00418.18
8.1.290.0030.00630.84
8.1.280.0070.01125.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.25
8.1.230.0060.00318.80
8.1.00.0060.00317.58

preferences:
72.24 ms | 912 KiB | 5 Q