3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = 'tc class add dev br-lan parent 1:1 classid 1:2 htb rate 100kbit ceil 100kbit'; var_dump( (int) explode(' ', $line)[11] );

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.140.0140.00717.60
8.4.130.0080.01217.75
8.4.120.0110.01020.54
8.4.110.0080.00322.55
8.4.100.0120.00817.79
8.4.90.0040.00518.46
8.4.80.0030.00519.40
8.4.70.0100.01019.66
8.4.60.0140.00618.66
8.4.50.0060.00220.55
8.4.40.0080.01120.38
8.4.30.0100.00618.80
8.4.20.0110.01120.55
8.4.10.0070.01023.82
8.3.270.0080.01116.63
8.3.260.0090.00916.47
8.3.250.0130.00618.50
8.3.240.0120.00716.49
8.3.230.0110.00616.63
8.3.220.0030.00416.98
8.3.210.0050.00318.33
8.3.200.0030.00616.61
8.3.190.0090.01117.33
8.3.180.0110.00816.40
8.3.170.0100.00717.30
8.3.160.0040.01519.04
8.3.150.0040.00416.38
8.3.140.0000.00817.24
8.3.130.0050.00318.61
8.3.120.0000.00820.62
8.3.110.0030.00620.94
8.3.100.0070.00724.06
8.3.90.0070.01126.77
8.3.80.0040.01117.97
8.3.70.0150.00416.47
8.3.60.0070.01418.43
8.3.50.0120.00316.57
8.3.40.0060.00919.81
8.3.30.0150.00018.70
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.290.0090.00920.53
8.2.280.0120.00718.42
8.2.270.0090.00917.29
8.2.260.0060.00318.32
8.2.250.0060.00318.40
8.2.240.0050.00317.13
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0090.00926.77
8.2.200.0060.00318.54
8.2.190.0130.00320.07
8.2.180.0090.00916.75
8.2.170.0110.00318.91
8.2.160.0130.00322.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00321.04
8.2.110.0060.00321.12
8.2.100.0090.00317.91
8.2.90.0040.00417.96
8.2.80.0080.00019.09
8.2.70.0040.00417.93
8.2.60.0070.00017.50
8.2.50.0050.00519.52
8.2.40.0130.00319.52
8.2.30.0100.00719.52
8.2.20.0000.00919.52
8.2.10.0170.00019.52
8.2.00.0070.01119.52
8.1.330.0130.00523.87
8.1.320.0140.00516.13
8.1.310.0060.00318.53
8.1.300.0110.00720.09
8.1.290.0070.00330.84
8.1.280.0040.01125.92
8.1.270.0000.00724.66
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00422.10
8.1.230.0090.00320.88
8.1.220.0000.00817.74
8.1.210.0030.00718.77
8.1.200.0050.00317.23
8.1.190.0090.00017.10
8.1.180.0060.00319.52
8.1.170.0130.00319.52
8.1.160.0160.00219.52
8.1.150.0120.00319.52
8.1.140.0110.00519.52
8.1.130.0100.00719.52
8.1.120.0120.00419.52
8.1.110.0130.00319.52
8.1.100.0040.01219.52
8.1.90.0120.00419.52
8.1.80.0120.00619.52
8.1.70.0140.00519.52
8.1.60.0170.00319.52
8.1.50.0170.00319.52
8.1.40.0110.00719.52
8.1.30.0150.00619.52
8.1.20.0150.00419.52
8.1.10.0110.00719.52
8.1.00.0100.00819.52
8.0.300.0090.00020.14
8.0.290.0080.00016.58
8.0.280.0040.01219.52
8.0.270.0070.01019.52
8.0.260.0040.01219.52
8.0.250.0110.00519.52
8.0.240.0130.00319.52
8.0.230.0120.00619.52
8.0.220.0080.00819.52
8.0.210.0160.00019.52
8.0.200.0110.00619.52
8.0.190.0100.00719.52
8.0.180.0090.00919.52
8.0.170.0070.01019.52
8.0.160.0090.00919.52
8.0.150.0140.00519.52
8.0.140.0120.00419.52
8.0.130.0080.00819.52
8.0.120.0120.00419.52
8.0.110.0130.00319.52
8.0.100.0160.00019.52
8.0.90.0100.00619.52
8.0.80.0190.00019.52
8.0.70.0100.00619.52
8.0.60.0150.00019.52
8.0.50.0080.00819.52
8.0.30.0150.00319.52
8.0.20.0130.00319.52
8.0.10.0120.00419.52

preferences:
66.31 ms | 403 KiB | 5 Q