3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = [1,2,3]; $y = 4; var_dump(count($x) >= $y); var_dump(!count($x) >= $y); var_dump(!(count($x) >= $y));

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.3.130.0080.00018.42
8.3.120.0030.00718.36
8.3.110.0050.00520.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0060.00318.18
8.3.70.0100.00716.63
8.3.60.0150.00618.17
8.3.50.0130.00316.59
8.3.40.0090.00622.04
8.3.30.0070.00720.17
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0080.00026.16
8.2.250.0060.00316.43
8.2.240.0060.00316.87
8.2.230.0000.00722.58
8.2.220.0030.00637.54
8.2.210.0000.00826.77
8.2.200.0030.00616.50
8.2.190.0140.00016.58
8.2.180.0180.00318.29
8.2.170.0030.01022.96
8.2.160.0030.01022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.54
8.2.110.0110.00021.05
8.2.100.0070.00417.78
8.2.90.0050.00319.37
8.2.80.0050.00319.20
8.2.70.0140.00417.50
8.2.60.0110.01017.38
8.2.50.0210.00017.38
8.2.40.0110.00817.48
8.2.30.0070.01117.50
8.2.20.0040.00717.63
8.2.10.0140.00517.38
8.2.00.0100.00717.63
8.1.300.0120.00317.44
8.1.290.0060.00330.84
8.1.280.0080.00625.92
8.1.270.0040.00424.66
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.01723.97
8.1.230.0080.00420.86
8.1.220.0000.00817.74
8.1.210.0080.00018.96
8.1.200.0030.00617.22
8.1.190.0160.00216.88
8.1.180.0110.00717.00
8.1.170.0140.00717.34
8.1.160.0130.00417.34
8.1.150.0170.00317.25
8.1.140.0210.00017.00
8.1.130.0130.00617.13
8.1.120.0150.00317.13
8.1.110.0060.01317.25
8.1.100.0130.00517.25
8.1.90.0120.00617.11
8.1.80.0150.00317.10
8.1.70.0190.00017.34
8.1.60.0150.00517.47
8.1.50.0120.00616.88
8.1.40.0140.00617.38
8.1.30.0130.00817.25
8.1.20.0190.00317.25
8.1.10.0140.00517.38
8.1.00.0150.00417.34
8.0.300.0040.00420.23
8.0.290.0100.00916.59
8.0.280.0160.00316.58
8.0.270.0090.00916.58
8.0.260.0090.00916.58
8.0.250.0120.00616.62
8.0.240.0140.00216.85
8.0.230.0170.00516.58
8.0.220.0180.00316.63
8.0.210.0200.00016.60
8.0.200.0150.00316.75
8.0.190.0090.00916.58
8.0.180.0080.01016.59
8.0.170.0120.00816.58
8.0.160.0160.00316.58
8.0.150.0110.00816.58
8.0.140.0180.00316.62
8.0.130.0150.00416.75
8.0.120.0100.01016.63
8.0.110.0160.00416.61
8.0.100.0160.00216.58
8.0.90.0090.00816.61
8.0.80.0200.00016.58
8.0.70.0130.00516.58
8.0.60.0090.00816.58
8.0.50.0070.01116.63
8.0.30.0180.00016.58
8.0.20.0150.00316.74
8.0.10.0150.00416.63

preferences:
12.42 ms | 403 KiB | 5 Q