3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace HHVM\UserDocumentation\Inconsistencies\Intro\Examples\LVP; class Foo { function bar($baz) { $baz = 'herpderp'; // Always outputs array('herpderp') var_dump(func_get_args()); } } $f = new Foo(); $f->bar('blah');

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.0070.01116.25
8.3.50.0110.00921.92
8.3.40.0070.00718.41
8.3.30.0150.00018.73
8.3.20.0040.00420.16
8.3.10.0070.00021.77
8.3.00.0050.00319.25
8.2.180.0110.00416.38
8.2.170.0120.00622.96
8.2.160.0030.01322.13
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00417.63
8.2.120.0080.00026.35
8.2.110.0060.00319.14
8.2.100.0120.00017.51
8.2.90.0050.00317.78
8.2.80.0000.00819.16
8.2.70.0040.00417.63
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0000.00719.13
8.2.30.0040.00420.51
8.2.20.0060.00317.68
8.2.10.0050.00518.11
8.2.00.0060.00318.12
8.1.280.0110.00825.92
8.1.270.0030.00623.83
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0060.00322.08
8.1.230.0040.00820.91
8.1.220.0060.00317.74
8.1.210.0080.00018.78
8.1.200.0060.00317.10
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0040.00421.86
8.1.150.0020.00518.87
8.1.140.0040.00419.43
8.1.130.0070.00017.68
8.1.120.0040.00417.37
8.1.110.0040.00417.42
8.1.100.0000.00817.39
8.1.90.0030.00417.38
8.1.80.0030.00517.35
8.1.70.0030.00317.30
8.1.60.0000.00717.48
8.1.50.0050.00317.52
8.1.40.0040.00717.43
8.1.30.0000.00817.55
8.1.20.0040.00417.47
8.1.10.0080.00017.46
8.1.00.0060.00317.49
8.0.300.0000.00820.02
8.0.290.0040.00416.63
8.0.280.0000.00718.45
8.0.270.0070.00017.11
8.0.260.0000.00717.20
8.0.250.0000.00716.77
8.0.240.0050.00216.86
8.0.230.0050.00216.82
8.0.220.0000.00816.83
8.0.210.0000.00716.84
8.0.200.0060.00016.87
8.0.190.0000.00916.79
8.0.180.0000.00716.83
8.0.170.0040.00716.53
8.0.160.0060.00316.82
8.0.150.0000.00716.77
8.0.140.0030.00316.79
8.0.130.0030.00613.26
8.0.120.0040.00416.78
8.0.110.0050.00216.79
8.0.100.0040.00416.82
8.0.90.0040.00416.72
8.0.80.0100.00716.86
8.0.70.0000.00816.79
8.0.60.0000.00816.70
8.0.50.0070.00016.66
8.0.30.0140.00317.22
8.0.20.0090.01017.40
8.0.10.0020.00516.77
8.0.00.0120.00616.77
7.4.330.0050.00016.89
7.4.320.0000.00616.44
7.4.300.0060.00016.52
7.4.290.0000.00716.52
7.4.280.0050.00316.61
7.4.270.0030.00316.62
7.4.260.0040.00416.53
7.4.250.0040.00416.43
7.4.240.0020.00616.52
7.4.230.0030.00316.50
7.4.220.0090.01616.51
7.4.210.0000.01516.66
7.4.200.0080.00016.30
7.4.160.0050.01116.65
7.4.150.0060.01217.40
7.4.140.0130.00917.86
7.4.130.0070.01116.38
7.4.120.0100.00616.44
7.4.110.0110.00616.58
7.4.100.0080.01616.43
7.4.90.0110.00716.36
7.4.80.0100.01319.39
7.4.70.0130.00316.50
7.4.60.0160.00316.45
7.4.50.0090.00616.34
7.4.40.0080.00816.36
7.4.30.0110.00816.52
7.4.00.0120.00315.09
7.3.330.0000.00613.26
7.3.320.0000.00513.24
7.3.310.0000.00716.30
7.3.300.0070.00016.25
7.3.290.0090.00616.24
7.3.280.0090.00916.24
7.3.270.0100.00717.40
7.3.260.0100.00716.60
7.3.250.0110.00916.20
7.3.240.0120.00416.24
7.3.230.0080.00816.43
7.3.210.0130.01016.45
7.3.200.0170.00316.15
7.3.190.0070.01116.19
7.3.180.0060.01016.16
7.3.170.0100.01016.55
7.3.160.0090.00916.25
7.2.330.0100.01616.63
7.2.320.0110.00716.38
7.2.310.0120.00616.75
7.2.300.0070.01116.37
7.2.290.0160.00716.59
7.2.60.0100.00316.73
7.2.00.0060.00919.16
7.1.200.0070.00715.53
7.1.100.0000.01117.64
7.1.70.0080.00016.69
7.1.60.0140.01019.48
7.1.50.0070.01416.76
7.1.00.0000.08022.33
7.0.200.3090.00714.88
7.0.60.0030.04020.10
7.0.50.0000.05017.97
7.0.40.0130.08020.04
7.0.30.0230.04020.33
7.0.20.0200.08020.33
7.0.10.0000.06720.09
7.0.00.0070.08020.07
5.6.280.0000.03320.82
5.6.210.0070.07320.76
5.6.200.0030.04718.19
5.6.190.0100.08320.55
5.6.180.0400.07020.52
5.6.170.0200.05020.47
5.6.160.0070.06020.44
5.6.150.0070.06318.29
5.6.140.0000.04318.22
5.6.130.0130.07718.28
5.6.120.0070.05721.03
5.6.110.0070.08320.95
5.6.100.0100.08320.99
5.6.90.0170.07021.10
5.6.80.0070.08020.37
5.5.350.4200.03320.41
5.5.340.0070.05317.98
5.5.330.0030.05320.47
5.5.320.0000.05020.27
5.5.310.0170.04320.29
5.5.300.0100.03718.03
5.5.290.0000.04717.99
5.5.280.0070.08320.80
5.5.270.0030.06720.77
5.5.260.0070.04020.77
5.5.250.0030.06020.61
5.5.240.0230.07320.04

preferences:
55.2 ms | 401 KiB | 5 Q