3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar($arg) { var_dump('Foo::bar called with ' . $arg); } } ([new Foo, 'bar'])('test');

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.0140.00716.48
8.3.50.0170.00521.92
8.3.40.0140.00018.63
8.3.30.0040.01218.59
8.3.20.0040.00420.25
8.3.10.0030.00520.52
8.3.00.0040.00423.72
8.2.180.0140.00718.09
8.2.170.0040.01122.96
8.2.160.0090.00619.46
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0000.00820.63
8.2.120.0080.00026.35
8.2.110.0060.00319.19
8.2.100.0040.00818.05
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0090.00018.04
8.2.50.0080.00018.09
8.2.40.0000.00822.16
8.2.30.0000.00719.23
8.2.20.0000.00817.63
8.2.10.0030.00517.88
8.2.00.0070.00017.99
8.1.280.0140.00325.92
8.1.270.0040.00421.99
8.1.260.0050.00328.09
8.1.250.0000.00928.09
8.1.240.0100.00022.04
8.1.230.0070.00317.82
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.22
8.1.190.0050.00317.10
8.1.180.0050.00318.10
8.1.170.0120.00018.38
8.1.160.0040.00420.65
8.1.150.0000.00818.77
8.1.140.0000.00819.51
8.1.130.0000.00717.70
8.1.120.0030.00317.45
8.1.110.0000.00717.28
8.1.100.0000.00717.31
8.1.90.0040.00417.43
8.1.80.0050.00317.35
8.1.70.0000.00717.40
8.1.60.0060.00317.42
8.1.50.0040.00417.36
8.1.40.0080.00017.49
8.1.30.0040.00417.45
8.1.20.0000.00817.47
8.1.10.0040.00417.41
8.1.00.0070.00017.45
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.48
8.0.270.0030.00317.24
8.0.260.0030.00317.25
8.0.250.0030.00316.93
8.0.240.0000.00716.93
8.0.230.0030.00316.80
8.0.220.0000.00716.77
8.0.210.0000.00716.77
8.0.200.0060.00016.99
8.0.190.0000.00816.82
8.0.180.0040.00416.85
8.0.170.0000.00816.95
8.0.160.0030.00316.96
8.0.150.0000.00816.92
8.0.140.0030.00616.87
8.0.130.0000.00613.36
8.0.120.0000.00816.83
8.0.110.0040.00416.91
8.0.100.0000.00716.88
8.0.90.0000.00716.69
8.0.80.0090.00616.78
8.0.70.0000.00716.94
8.0.60.0000.00716.75
8.0.50.0000.00716.90
8.0.30.0120.00517.11
8.0.20.0110.00717.40
8.0.10.0050.00317.00
8.0.00.0090.00816.68
7.4.330.0050.00016.84
7.4.320.0020.00516.51
7.4.300.0030.00616.62
7.4.290.0030.00316.59
7.4.280.0070.00016.50
7.4.270.0030.00316.52
7.4.260.0040.00416.39
7.4.250.0000.00716.48
7.4.240.0000.00716.45
7.4.230.0040.00416.60
7.4.220.0130.00416.52
7.4.210.0090.00916.59
7.4.200.0000.00716.40
7.4.160.0110.00716.38
7.4.150.0070.01017.40
7.4.140.0170.00217.86
7.4.130.0080.01016.40
7.4.120.0110.00916.55
7.4.110.0080.00816.46
7.4.100.0100.01016.42
7.4.90.0100.00716.58
7.4.80.0050.01419.39
7.4.70.0120.00616.51
7.4.60.0130.00716.37
7.4.50.0040.01116.21
7.4.40.0060.00916.40
7.4.30.0190.00616.38
7.4.00.0040.01414.95
7.3.330.0000.00513.24
7.3.320.0050.00013.22
7.3.310.0030.00516.42
7.3.300.0030.00316.32
7.3.290.0070.00016.32
7.3.280.0080.00916.33
7.3.270.0100.00917.40
7.3.260.0090.01516.63
7.3.250.0120.00616.38
7.3.240.0120.00716.42
7.3.230.0030.01516.45
7.3.210.0090.00916.36
7.3.200.0110.00819.39
7.3.190.0200.00316.51
7.3.180.0110.00716.25
7.3.170.0060.01116.62
7.3.160.0070.01016.50
7.2.330.0100.00716.22
7.2.320.0110.00616.75
7.2.310.0030.01516.65
7.2.300.0060.01016.63
7.2.290.0040.01516.41
7.2.60.0070.01016.50
7.2.00.0060.00819.43
7.1.200.0100.00715.22
7.1.100.0030.01418.02
7.1.70.0030.00717.13
7.1.60.0030.01019.40
7.1.50.0100.01016.91
7.1.00.0100.07022.30
7.0.200.0170.01014.56
7.0.60.0300.07021.82
7.0.50.0030.08317.88
7.0.40.0030.09020.05
7.0.30.0330.06720.21
7.0.20.0300.07020.08
7.0.10.0030.04320.26
7.0.00.0170.07320.18
5.6.280.0000.04320.89
5.6.210.0000.08720.67
5.6.200.0030.05718.19
5.6.190.0070.09020.52
5.6.180.0330.05720.39
5.6.170.0300.06720.57
5.6.160.0130.07020.56
5.6.150.0070.07318.19
5.6.140.0170.07018.15
5.6.130.0070.05018.18
5.6.120.0000.06721.04
5.6.110.0070.08021.02
5.6.100.0170.05721.11
5.6.90.0070.06321.02
5.6.80.0130.08020.54
5.5.350.0130.08320.38
5.5.340.0070.08317.92
5.5.330.0070.08020.29
5.5.320.0570.07020.40
5.5.310.0330.05320.27
5.5.300.0030.05717.98
5.5.290.0100.07018.08
5.5.280.0200.06720.80
5.5.270.0100.03720.69
5.5.260.0100.07020.97
5.5.250.0070.08320.58
5.5.240.0200.03720.19

preferences:
69.79 ms | 401 KiB | 5 Q