3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(){ echo __FUNCTION__; } class bla { public $foo = "test"; public function bar () { $this->foo(); } } $objBla = new bla; $objBla->bar();

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.0110.01116.61
8.3.50.0110.00716.28
8.3.40.0140.00418.61
8.3.30.0100.00318.67
8.3.20.0050.00320.20
8.3.10.0080.00021.91
8.3.00.0000.00821.91
8.2.180.0040.01816.75
8.2.170.0070.00722.96
8.2.160.0140.00320.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0120.00320.70
8.2.120.0040.00426.35
8.2.110.0100.00019.27
8.2.100.0120.00017.80
8.2.90.0060.00319.25
8.2.80.0090.00017.97
8.2.70.0030.00617.50
8.2.60.0030.00717.93
8.2.50.0040.00418.09
8.2.40.0030.00620.44
8.2.30.0000.00819.34
8.2.20.0000.00817.67
8.2.10.0040.00417.86
8.2.00.0050.00317.91
8.1.280.0100.01025.92
8.1.270.0120.00621.92
8.1.260.0060.00328.09
8.1.250.0040.00428.09
8.1.240.0090.00617.36
8.1.230.0040.00717.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0080.00017.22
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0080.00018.46
8.1.160.0040.00420.68
8.1.150.0000.00720.52
8.1.140.0040.00419.42
8.1.130.0080.00017.55
8.1.120.0100.00017.35
8.1.110.0000.00717.27
8.1.100.0000.00817.37
8.1.90.0040.00417.44
8.1.80.0040.00417.34
8.1.70.0030.00317.31
8.1.60.0050.00317.60
8.1.50.0000.00817.52
8.1.40.0000.00817.52
8.1.30.0030.00617.62
8.1.20.0090.00017.54
8.1.10.0030.00517.50
8.1.00.0050.00317.48
8.0.300.0070.00018.90
8.0.290.0000.00716.75
8.0.280.0050.00318.38
8.0.270.0000.00817.19
8.0.260.0030.00317.14
8.0.250.0030.00316.91
8.0.240.0000.00716.82
8.0.230.0030.00316.88
8.0.220.0000.00716.77
8.0.210.0030.00316.80
8.0.200.0030.00316.81
8.0.190.0030.00616.96
8.0.180.0050.00516.86
8.0.170.0080.00016.82
8.0.160.0030.00516.88
8.0.150.0040.00416.93
8.0.140.0000.00816.85
8.0.130.0000.00513.32
8.0.120.0050.00516.86
8.0.110.0000.00716.76
8.0.100.0000.00716.70
8.0.90.0070.00016.91
8.0.80.0060.01216.88
8.0.70.0050.00216.68
8.0.60.0000.00816.75
8.0.50.0000.00716.95
8.0.30.0110.00517.11
8.0.20.0120.00917.40
8.0.10.0040.00416.92
8.0.00.0080.01216.80
7.4.330.0000.00516.83
7.4.320.0000.00616.43
7.4.300.0050.00216.49
7.4.290.0040.00416.48
7.4.280.0000.00816.57
7.4.270.0000.00716.43
7.4.260.0000.00716.62
7.4.250.0070.00016.47
7.4.240.0070.00016.58
7.4.230.0030.00316.62
7.4.220.0070.01016.66
7.4.210.0070.00716.49
7.4.200.0070.00016.41
7.4.160.0090.00616.39
7.4.150.0120.00617.40
7.4.140.0070.01417.86
7.4.130.0120.00916.47
7.4.120.0080.01216.41
7.4.110.0100.00716.74
7.4.100.0100.01316.47
7.4.90.0110.00616.51
7.4.80.0100.01319.39
7.4.70.0040.01216.48
7.4.60.0120.00616.45
7.4.50.0000.01316.54
7.4.40.0130.00616.40
7.4.30.0150.00916.40
7.4.00.0080.00314.76
7.3.330.0030.00313.44
7.3.320.0000.00513.23
7.3.310.0030.00316.43
7.3.300.0000.00716.39
7.3.290.0030.00316.41
7.3.280.0100.00616.36
7.3.270.0120.00417.40
7.3.260.0120.00816.27
7.3.250.0070.01016.41
7.3.240.0080.00816.64
7.3.230.0150.00316.39
7.3.210.0060.01216.48
7.3.200.0120.00919.39
7.3.190.0130.01016.33
7.3.180.0040.01216.59
7.3.170.0120.01116.63
7.3.160.0100.00716.45
7.2.330.0150.00316.54
7.2.320.0150.00616.56
7.2.310.0060.01616.43
7.2.300.0150.00616.69
7.2.290.0070.01016.38
7.2.60.0100.00316.88
7.2.00.0060.00619.47
7.1.200.0040.00415.56
7.1.100.0070.00317.93
7.1.70.0000.00817.15
7.1.60.0070.00719.40
7.1.50.0060.00916.83
7.1.00.0000.08022.36
7.0.200.0420.00614.73
7.0.60.0300.06720.00
7.0.50.0130.07017.82
7.0.40.0100.07720.24
7.0.30.0300.03320.21
7.0.20.0370.07720.12
7.0.10.0000.05720.30
7.0.00.0070.04020.24
5.6.280.0030.03321.08
5.6.210.0030.06720.72
5.6.200.0170.07318.14
5.6.190.0070.05320.63
5.6.180.0270.07320.34
5.6.170.0330.07020.45
5.6.160.0070.04020.50
5.6.150.0030.04018.19
5.6.140.0100.04318.16
5.6.130.0230.07018.16
5.6.120.0070.03720.90
5.6.110.0030.05720.96
5.6.100.0130.08321.01
5.6.90.0130.05321.01
5.6.80.0100.07720.54
5.5.350.0200.04320.41
5.5.340.0000.04718.09
5.5.330.0070.08320.36
5.5.320.0200.07020.35
5.5.310.0330.04020.19
5.5.300.0030.05317.94
5.5.290.0000.05017.97
5.5.280.0030.09020.88
5.5.270.0100.07320.68
5.5.260.0130.06720.93
5.5.250.0130.07720.50
5.5.240.3430.04020.24

preferences:
59.91 ms | 400 KiB | 5 Q