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( preg_replace('/.* rate (\d+).*/', '$1', $line) );

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.0190.00217.75
8.4.130.0040.00520.60
8.4.120.0080.01224.18
8.4.110.0120.00822.39
8.4.100.0100.01018.64
8.4.90.0110.01018.63
8.4.80.0070.00218.59
8.4.70.0100.00717.84
8.4.60.0110.01120.25
8.4.50.0130.00720.28
8.4.40.0090.00920.71
8.4.30.0110.01118.87
8.4.20.0100.00720.64
8.4.10.0090.00623.67
8.3.270.0160.00916.39
8.3.260.0070.00216.63
8.3.250.0040.00418.77
8.3.240.0140.00616.98
8.3.230.0040.00516.56
8.3.220.0100.00720.48
8.3.210.0100.00918.52
8.3.200.0060.00316.52
8.3.190.0050.00317.17
8.3.180.0140.00816.69
8.3.170.0100.01018.68
8.3.160.0110.00716.41
8.3.150.0100.01018.87
8.3.140.0090.00616.61
8.3.130.0040.00416.90
8.3.120.0040.00418.86
8.3.110.0080.00020.94
8.3.100.0060.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00318.56
8.3.70.0100.00616.75
8.3.60.0090.00918.55
8.3.50.0040.01116.62
8.3.40.0180.00720.03
8.3.30.0040.01118.84
8.3.20.0000.00824.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.290.0110.00920.40
8.2.280.0120.00718.42
8.2.270.0090.00016.61
8.2.260.0040.00418.54
8.2.250.0140.00016.73
8.2.240.0060.00317.36
8.2.230.0080.00022.58
8.2.220.0030.00737.54
8.2.210.0000.00826.77
8.2.200.0000.00916.50
8.2.190.0180.00416.75
8.2.180.0110.00418.38
8.2.170.0000.01619.08
8.2.160.0070.01122.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.06
8.2.110.0030.00720.46
8.2.100.0030.00917.84
8.2.90.0080.00017.63
8.2.80.0030.00518.78
8.2.70.0000.00817.75
8.2.60.0040.00417.63
8.2.50.0030.00619.52
8.2.40.0110.00619.52
8.2.30.0150.00319.52
8.2.20.0160.00019.52
8.2.10.0160.00019.52
8.2.00.0080.00819.52
8.1.330.0080.01021.76
8.1.320.0120.00716.11
8.1.310.0070.01118.36
8.1.300.0060.00316.52
8.1.290.0070.00330.84
8.1.280.0090.00625.92
8.1.270.0030.00524.66
8.1.260.0040.00426.35
8.1.250.0090.00628.09
8.1.240.0060.00322.05
8.1.230.0070.00318.97
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00317.36
8.1.190.0040.00417.35
8.1.180.0110.00419.52
8.1.170.0090.00619.52
8.1.160.0120.00419.52
8.1.150.0120.00419.52
8.1.140.0140.00319.52
8.1.130.0080.00819.52
8.1.120.0140.00319.52
8.1.110.0080.00819.52
8.1.100.0110.00619.52
8.1.90.0130.00619.52
8.1.80.0150.00019.52
8.1.70.0160.00019.52
8.1.60.0170.00019.52
8.1.50.0090.00919.52
8.1.40.0090.00919.52
8.1.30.0110.00719.52
8.1.20.0110.00819.52
8.1.10.0160.00319.52
8.1.00.0090.00919.52
8.0.300.0020.00519.75
8.0.290.0090.00016.75
8.0.280.0130.00419.52
8.0.270.0090.00919.52
8.0.260.0120.00419.52
8.0.250.0050.01119.52
8.0.240.0130.00319.52
8.0.230.0120.00419.52
8.0.220.0120.00419.52
8.0.210.0120.00419.52
8.0.200.0130.00319.52
8.0.190.0170.00019.52
8.0.180.0130.00419.52
8.0.170.0170.00019.52
8.0.160.0140.00519.52
8.0.150.0150.00219.52
8.0.140.0140.00319.52
8.0.130.0140.00319.52
8.0.120.0090.00719.52
8.0.110.0130.00319.52
8.0.100.0080.00819.52
8.0.90.0190.00019.52
8.0.80.0170.00019.52
8.0.70.0170.00019.52
8.0.60.0130.00319.52
8.0.50.0170.00019.52
8.0.30.0080.00819.52
8.0.20.0170.00019.52
8.0.10.0170.00019.52

preferences:
87.17 ms | 403 KiB | 5 Q