3v4l.org

run code in 300+ PHP versions simultaneously
<?php $from = "2022-11-01"; $to = "2022-11-05"; $check = "2022-11-04"; if($from <= $check AND $check <= $to) { echo $check.' is between '.$from.' and '.$to; } else { echo $check.' is not between '.$from.' and '.$to; }

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.4.120.0120.00824.19
8.4.110.0090.00722.11
8.4.100.0090.01117.47
8.4.90.0130.00818.57
8.4.80.0130.00719.69
8.4.70.0050.00417.81
8.4.60.0090.01118.80
8.4.50.0030.00517.84
8.4.40.0040.00419.39
8.4.30.0110.00918.60
8.4.20.0170.00319.62
8.4.10.0070.00421.94
8.3.250.0070.01118.84
8.3.240.0120.00716.99
8.3.230.0060.01316.39
8.3.220.0110.00717.28
8.3.210.0050.00318.26
8.3.200.0050.00616.49
8.3.190.0060.00220.70
8.3.180.0130.00616.72
8.3.170.0040.01817.31
8.3.160.0110.00716.45
8.3.150.0110.00720.94
8.3.140.0060.00318.30
8.3.130.0040.00416.39
8.3.120.0060.00320.57
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0030.00616.50
8.3.70.0070.00716.58
8.3.60.0070.00716.75
8.3.50.0100.00720.11
8.3.40.0100.01020.13
8.3.30.0070.00718.68
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0050.00326.16
8.2.290.0060.00920.35
8.2.280.0070.00918.49
8.2.270.0120.00617.02
8.2.260.0090.00920.02
8.2.250.0130.00618.38
8.2.240.0030.00717.28
8.2.230.0040.00422.58
8.2.220.0080.00037.54
8.2.210.0070.00726.77
8.2.200.0030.00616.75
8.2.190.0160.00316.58
8.2.180.0070.01425.92
8.2.170.0100.01018.77
8.2.160.0030.01022.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00420.92
8.2.110.0080.00419.41
8.2.100.0090.00317.72
8.2.90.0040.00417.63
8.2.80.0040.00418.61
8.2.70.0040.00418.04
8.2.60.0040.00417.63
8.2.50.0040.00417.55
8.2.40.0050.00219.30
8.2.30.0050.00318.06
8.2.20.0040.00420.68
8.2.10.0000.00718.17
8.2.00.0050.00319.29
8.1.330.0130.00521.81
8.1.320.0100.01016.14
8.1.310.0070.01116.75
8.1.300.0070.00716.55
8.1.290.0030.00718.88
8.1.280.0060.00925.92
8.1.270.0060.00322.19
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0100.00023.83
8.1.230.0040.00819.04
8.1.220.0030.00517.79
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0090.00017.36
8.1.180.0050.00318.10
8.1.170.0070.00018.91
8.1.160.0040.00418.84
8.1.150.0050.00218.64
8.1.140.0000.00717.49
8.1.130.0000.00717.52
8.1.120.0130.00317.54
8.1.110.0160.00017.52
8.1.100.0060.01117.51
8.1.90.0120.00317.44
8.1.80.0110.00417.47
8.1.70.0110.00617.38
8.1.60.0170.00217.58
8.1.50.0040.01417.57
8.1.40.0170.00317.57
8.1.30.0100.01017.68
8.1.20.0180.00017.64
8.1.10.0110.00617.52
8.1.00.0110.00717.51
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.44
8.0.270.0020.00517.90
8.0.260.0000.00616.81
8.0.250.0120.00416.83
8.0.240.0050.00916.84
8.0.230.0070.00716.87
8.0.220.0060.00916.84
8.0.210.0110.00216.79
8.0.200.0140.00016.91
8.0.190.0140.00016.93
8.0.180.0120.00316.93
8.0.170.0120.00316.91
8.0.160.0070.00716.80
8.0.150.0070.00716.80
8.0.140.0150.00016.80
8.0.130.0090.00616.83
8.0.120.0090.00616.82
8.0.110.0060.00916.78
8.0.100.0110.00416.80
8.0.90.0120.00416.79
8.0.80.0100.00016.64
8.0.70.0120.00016.44
8.0.60.0050.00516.72
8.0.50.0120.00016.80
8.0.30.0090.00316.71
8.0.20.0070.00716.83
8.0.10.0050.01016.84
7.4.330.0050.00814.29
7.4.320.0120.00516.51
7.4.300.0040.00816.49
7.4.290.0040.00716.27
7.4.280.0060.00916.33
7.4.270.0100.00016.38
7.4.260.0060.00416.42
7.4.250.0130.00016.36
7.4.240.0000.00916.37
7.4.230.0050.00516.37
7.4.220.0030.00716.23
7.4.210.0050.00515.92
7.4.200.0070.00516.46
7.4.190.0120.00016.58
7.4.180.0070.00316.38
7.4.160.0070.00316.38
7.4.150.0100.00016.34
7.4.140.0050.00516.28
7.4.130.0050.00516.07
7.4.120.0100.00016.27
7.4.110.0040.00716.37
7.4.100.0050.00516.14
7.4.90.0070.00216.27
7.4.80.0110.00016.29
7.4.70.0070.00216.45
7.4.60.0050.00516.04
7.4.50.0000.01016.05
7.4.40.0090.00216.31
7.4.30.0030.00616.23
7.4.20.0030.00616.04
7.4.10.0000.01116.04
7.4.00.0060.00316.29

preferences:
26.15 ms | 403 KiB | 5 Q