3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function doFoo() { self:self::doBar(); } public function doBar() { echo "test\n"; } } $foo = new Foo(); $foo->doFoo();

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.00716.63
8.3.50.0000.01718.32
8.3.40.0120.00318.69
8.3.30.0100.00318.59
8.3.20.0000.00724.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.180.0030.01025.92
8.2.170.0090.00618.93
8.2.160.0120.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00026.16
8.2.110.0030.00620.36
8.2.100.0070.00417.91
8.2.90.0090.00019.17
8.2.80.0080.00018.05
8.2.70.0060.00317.61
8.2.60.0050.00317.93
8.2.50.0030.00518.07
8.2.40.0030.00519.77
8.2.30.0030.00517.62
8.2.20.0000.00720.61
8.2.10.0040.00417.58
8.2.00.0070.00419.17
8.1.280.0150.00625.92
8.1.270.0030.00523.99
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0030.00622.55
8.1.230.0090.00620.87
8.1.220.0000.00818.77
8.1.210.0040.00418.90
8.1.200.0060.00317.00
8.1.190.0050.00317.23
8.1.180.0050.00518.88
8.1.170.0030.00620.65
8.1.160.0000.00718.96
8.1.150.0040.00418.51
8.1.140.0040.00417.33
8.1.130.0040.00418.82
8.1.120.0040.00417.37
8.1.110.0040.00417.40
8.1.100.0000.00717.46
8.1.90.0050.00317.31
8.1.80.0050.00517.38
8.1.70.0060.00317.37
8.1.60.0080.00017.63
8.1.50.0040.00417.55
8.1.40.0040.00417.52
8.1.30.0000.00817.53
8.1.20.0040.00417.55
8.1.10.0050.00317.57
8.1.00.0040.00417.41
8.0.300.0000.00919.97
8.0.290.0040.00417.30
8.0.280.0000.00718.56
8.0.270.0020.00516.73
8.0.260.0030.00318.34
8.0.250.0000.00716.93
8.0.240.0030.00316.89
8.0.230.0000.00716.90
8.0.220.0070.00016.81
8.0.210.0000.00716.84
8.0.200.0000.00716.86
8.0.190.0040.00416.91
8.0.180.0000.00716.82
8.0.170.0000.01016.88
8.0.160.0060.00316.92
8.0.150.0080.00016.77
8.0.140.0070.00016.79
8.0.130.0090.00916.58
8.0.120.0120.00216.77
8.0.110.0110.00616.82
8.0.100.0110.00716.58
8.0.90.0170.00016.79
8.0.80.0150.00416.77
8.0.70.0190.00016.74
8.0.60.0160.00216.80
8.0.50.0150.00416.66
8.0.30.0110.00816.68
8.0.20.0150.00316.75
8.0.10.0140.00516.98
8.0.00.0110.00316.92
7.4.330.0020.00215.55
7.4.320.0060.00016.42
7.4.300.0040.00416.61
7.4.290.0000.00716.50
7.4.280.0040.00416.58
7.4.270.0000.00716.43
7.4.260.0090.00316.47
7.4.250.0110.01116.52
7.4.240.0080.01216.50
7.4.230.0160.00416.50
7.4.220.0140.00316.48
7.4.210.0120.00616.50
7.4.200.0120.00616.59
7.4.190.0140.00416.55
7.4.180.0160.00316.45
7.4.160.0110.00616.46
7.4.150.0150.00216.48
7.4.140.0140.00516.43
7.4.130.0100.01016.49
7.4.120.0180.00016.45
7.4.110.0130.00416.51
7.4.100.0110.00716.38
7.4.90.0140.00416.50
7.4.80.0170.00016.30
7.4.70.0140.00316.57
7.4.60.0140.00416.45
7.4.50.0170.00016.25
7.4.40.0140.00416.41
7.4.30.0180.00016.32
7.4.20.0110.00616.33
7.4.10.0090.00916.46
7.4.00.0170.00016.50
7.3.330.0160.00316.11
7.3.320.0110.00716.06
7.3.310.0140.00416.16
7.3.300.0190.00016.02
7.3.290.0140.00516.32
7.3.280.0200.00016.25
7.3.270.0200.00016.15
7.3.260.0170.00216.06
7.3.250.0130.00616.26
7.3.240.0160.00416.04
7.3.230.0200.00015.97
7.3.220.0130.00716.00
7.3.210.0130.00516.16
7.3.200.0160.00316.05
7.3.190.0190.00316.12
7.3.180.0170.00015.95
7.3.170.0120.00616.15
7.3.160.0120.00616.11
7.3.150.0120.00616.21
7.3.140.0110.00716.00
7.3.130.0190.00016.01
7.3.120.0160.00315.95
7.3.110.0170.00316.11
7.3.100.0150.00415.98
7.3.90.0100.00516.45
7.3.80.0050.00515.93
7.3.70.0030.00716.12
7.3.60.0050.00516.21
7.3.50.0110.00315.98
7.3.40.0040.00816.32
7.3.30.0050.00616.28
7.3.20.0090.00718.10
7.3.10.0090.00618.10
7.3.00.0060.00318.13

preferences:
62.45 ms | 400 KiB | 5 Q