3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { function __construct($a, $b) {var_dump(func_get_args();} } class b extends a {} new b;

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)
5.4.280.0060.05312.39
5.4.270.0100.05012.39
5.4.260.0140.04912.40
5.4.250.0130.05012.39
5.4.240.0090.05412.40
5.4.230.0080.05312.38
5.4.220.0090.07012.39
5.4.210.0090.04712.39
5.4.200.0070.05012.39
5.4.190.0090.04612.38
5.4.180.0100.04912.38
5.4.170.0080.05112.39
5.4.160.0100.04712.38
5.4.150.0110.04512.38
5.4.140.0080.05212.07
5.4.130.0070.04812.05
5.4.120.0120.04712.02
5.4.110.0130.06612.02
5.4.100.0210.07212.02
5.4.90.0160.07412.02
5.4.80.0120.05812.02
5.4.70.0110.06412.01
5.4.60.0120.05312.01
5.4.50.0100.05712.01
5.4.40.0110.05412.00
5.4.30.0150.06712.00
5.4.20.0120.06811.99
5.4.10.0130.07612.00
5.4.00.0120.07811.49
5.3.280.0200.08212.71
5.3.270.0120.06512.72
5.3.260.0130.04612.72
5.3.250.0050.05212.72
5.3.240.0140.07812.72
5.3.230.0140.05012.71
5.3.220.0050.05212.68
5.3.210.0070.05212.68
5.3.200.0090.04812.68
5.3.190.0140.06312.68
5.3.180.0070.04912.67
5.3.170.0090.04612.67
5.3.160.0100.04612.67
5.3.150.0070.04912.67
5.3.140.0080.04512.66
5.3.130.0050.04912.66
5.3.120.0080.04712.66
5.3.110.0050.05312.66
5.3.100.0070.04612.12
5.3.90.0070.05012.09
5.3.80.0100.04912.09
5.3.70.0130.05512.09
5.3.60.0090.06212.07
5.3.50.0120.06212.01
5.3.40.0120.04212.02
5.3.30.0120.04011.97
5.3.20.0100.04411.75
5.3.10.0090.04311.72
5.3.00.0070.04711.71
5.2.170.0080.0369.21
5.2.160.0080.0349.21
5.2.150.0060.0389.21
5.2.140.0050.0389.20
5.2.130.0070.0439.16
5.2.120.0120.0499.16
5.2.110.0080.0519.17
5.2.100.0110.0659.16
5.2.90.0100.0609.16
5.2.80.0070.0439.16
5.2.70.0140.0549.15
5.2.60.0120.0759.11
5.2.50.0110.0649.08
5.2.40.0070.0619.06
5.2.30.0120.0669.03
5.2.20.0100.0499.02
5.2.10.0070.0638.93
5.2.00.0120.0818.79
5.1.60.0080.0498.08
5.1.50.0050.0568.08
5.1.40.0110.0588.06
5.1.30.0090.0668.40
5.1.20.0070.0658.43
5.1.10.0100.0548.16
5.1.00.0100.0518.16
5.0.50.0070.0396.63
5.0.40.0110.0566.49
5.0.30.0030.0676.31
5.0.20.0100.0346.27
5.0.10.0070.0436.24
5.0.00.0070.0446.24
4.4.90.0080.0214.78
4.4.80.0090.0214.75
4.4.70.0040.0214.75
4.4.60.0070.0334.75
4.4.50.0040.0194.77
4.4.40.0080.0434.71
4.4.30.0050.0244.76
4.4.20.0040.0284.85
4.4.10.0060.0264.85
4.4.00.0080.0454.76
4.3.110.0070.0324.67
4.3.100.0080.0284.66
4.3.90.0090.0244.63
4.3.80.0050.0444.58
4.3.70.0080.0394.63
4.3.60.0040.0234.63
4.3.50.0040.0254.62
4.3.40.0080.0524.54
4.3.30.0080.0393.29
4.3.20.0070.0213.27
4.3.10.0070.0283.23
4.3.00.0070.0207.28

preferences:
140.04 ms | 1394 KiB | 7 Q