3v4l.org

run code in 300+ PHP versions simultaneously
<?php $students = array('akbar', 'danil', 'aldo'); if(count($students)){ echo 'students is in here !'; }

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.60.0040.01418.30
8.3.50.0200.00018.03
8.3.40.0120.00318.64
8.3.30.0120.00318.60
8.3.20.0000.00821.73
8.3.10.0040.00421.79
8.3.00.0080.00019.56
8.2.180.0110.00418.41
8.2.170.0100.00322.96
8.2.160.0100.00320.39
8.2.150.0000.00824.18
8.2.140.0000.01424.66
8.2.130.0050.00319.21
8.2.120.0080.00026.35
8.2.110.0060.00321.00
8.2.100.0080.00417.91
8.2.90.0060.00318.03
8.2.80.0000.00819.21
8.2.70.0030.00618.04
8.2.60.0080.00018.04
8.2.50.0030.00518.12
8.2.40.0050.00320.45
8.2.30.0040.00419.35
8.2.20.0040.00417.92
8.2.10.0000.00818.04
8.2.00.0000.00818.04
8.1.280.0140.00725.92
8.1.270.0040.00423.96
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0200.00022.44
8.1.230.0000.01020.97
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0030.00617.23
8.1.180.0070.00018.10
8.1.170.0000.00818.71
8.1.160.0040.00418.75
8.1.150.0030.00318.91
8.1.140.0040.00417.61
8.1.130.0030.00319.05
8.1.120.0020.00517.34
8.1.110.0070.00017.41
8.1.100.0030.00417.46
8.1.90.0020.00517.42
8.1.80.0030.00517.45
8.1.70.0000.00717.36
8.1.60.0060.00317.50
8.1.50.0050.00317.50
8.1.40.0040.00417.43
8.1.30.0050.00317.53
8.1.20.0050.00217.53
8.1.10.0000.00917.48
8.1.00.0060.00317.45
8.0.300.0030.00320.08
8.0.290.0080.00016.75
8.0.280.0030.00318.50
8.0.270.0030.00317.25
8.0.260.0050.00319.04
8.0.250.0050.00516.88
8.0.240.0070.00316.91
8.0.230.0030.00316.89
8.0.220.0040.00416.83
8.0.210.0000.00716.80
8.0.200.0070.00016.85
8.0.190.0040.00416.86
8.0.180.0030.00316.80
8.0.170.0100.00016.87
8.0.160.0040.00416.87
8.0.150.0000.00816.82
8.0.140.0000.00716.74
8.0.130.0000.00513.29
8.0.120.0000.00816.84
8.0.110.0040.00416.95
8.0.100.0050.00216.78
8.0.90.0000.00716.93
8.0.80.0190.00316.95
8.0.70.0030.00416.94
8.0.60.0030.00516.83
8.0.50.0050.00316.93
8.0.30.0110.00817.01
8.0.20.0140.00617.40
8.0.10.0040.00416.88
8.0.00.0090.00816.71
7.4.330.0030.00315.55
7.4.320.0000.00616.53
7.4.300.0030.00316.41
7.4.290.0040.00416.41
7.4.280.0060.00316.43
7.4.270.0070.00016.44
7.4.260.0070.00016.57
7.4.250.0070.00016.47
7.4.240.0030.00316.54
7.4.230.0040.00416.57
7.4.220.0030.00516.43
7.4.210.0090.00516.61
7.4.200.0070.00016.60
7.4.160.0080.00916.59
7.4.140.0130.00917.86
7.4.130.0000.01716.56
7.4.120.0100.00916.50
7.4.110.0030.01316.56
7.4.100.0160.00616.38
7.4.90.0060.01116.38
7.4.80.0030.02119.39
7.4.70.0060.01216.51
7.4.60.0170.00716.21
7.4.50.0060.00916.34
7.4.40.0030.01416.61
7.4.00.0030.01114.84
7.3.330.0000.00612.93
7.3.320.0060.00013.02
7.3.310.0030.00316.04
7.3.300.0000.00616.05
7.3.290.0030.00316.02
7.3.280.0090.00616.18
7.3.260.0140.00716.35
7.3.240.0060.01116.48
7.3.230.0100.00616.50
7.3.210.0180.00416.52
7.3.200.0070.01016.52
7.3.190.0110.00816.21
7.3.180.0090.01216.27
7.3.170.0110.00916.42
7.3.160.0070.01016.24
7.2.330.0070.01116.65
7.2.320.0070.01016.35
7.2.310.0150.00616.38
7.2.300.0090.00716.60
7.2.290.0140.00916.60
7.2.60.0060.00316.66
7.2.50.0030.01416.85
7.2.40.0950.01117.75
7.2.30.1020.01617.83
7.2.20.0860.00917.79
7.2.10.0960.01317.95
7.2.00.1100.01218.04
7.1.200.0060.00615.79
7.1.160.0760.01316.66
7.1.150.0790.00816.79
7.1.140.1180.01316.75
7.1.130.1130.01316.99
7.1.120.0940.01016.91
7.1.110.0990.01016.18
7.1.100.1120.01316.22
7.1.90.1280.00916.12
7.1.80.1140.01116.02
7.1.70.1040.01315.13
7.1.60.1540.01432.89
7.1.50.1370.01732.60
7.1.40.1770.01432.37
7.1.30.1420.01532.60
7.1.20.1640.01932.75
7.1.10.1010.01114.62
7.1.00.1200.01114.61

preferences:
76.84 ms | 401 KiB | 5 Q