3v4l.org

run code in 200+ PHP versions simultaneously
<?php class Foo { static public function isFoo() { return $this instanceof Foo; } } class Bar { public function doSomething() { return Foo::isFoo(); } } $bar = new Bar; var_dump($bar->doSomething());

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)
7.4.00.0070.01014.96
7.3.120.0080.00814.44
7.2.60.0100.00016.71
7.2.00.0030.00619.12
7.1.200.0030.01015.55
7.1.100.0070.00317.85
7.1.70.0030.01417.18
7.1.60.0090.00619.29
7.1.50.0170.01434.70
7.1.00.0030.07722.32
7.0.200.0030.00316.72
7.0.140.0100.06022.21
7.0.60.0130.08019.93
7.0.50.0170.04317.92
7.0.40.0070.09020.04
7.0.30.0200.04320.20
7.0.20.0230.08020.12
7.0.10.0170.07020.23
7.0.00.0070.04020.19
5.6.280.0100.06721.00
5.6.210.0100.06720.73
5.6.200.0070.06718.19
5.6.190.0030.04320.48
5.6.180.0330.05720.61
5.6.170.0230.03720.71
5.6.160.0100.08320.50
5.6.150.0030.07018.23
5.6.140.0070.05718.14
5.6.130.0030.08718.18
5.6.120.0070.07721.14
5.6.110.0130.07721.00
5.6.100.0070.05720.91
5.6.90.0070.05720.88
5.6.80.0100.03720.41
5.5.350.4170.04020.43
5.5.340.0100.07017.95
5.5.330.0070.05020.13
5.5.320.0230.04020.32
5.5.310.0330.07320.37
5.5.300.0130.04718.04
5.5.290.0030.05317.98
5.5.280.0100.08020.90
5.5.270.0130.07320.76
5.5.260.0030.04020.89
5.5.250.0100.08320.62
5.5.240.0030.07320.23
5.4.450.0330.07019.55
5.4.440.0300.07019.47
5.4.430.0330.07019.27
5.4.420.0300.07319.18
5.4.410.0300.05319.43
5.4.400.0300.05719.32
5.4.390.0430.03719.21
5.4.380.0400.05718.95
5.4.370.0330.06719.22
5.4.360.0330.06718.88
5.4.350.0200.06719.22
5.4.340.0330.04318.88
5.4.320.0400.06019.08
5.4.310.0370.06319.15
5.4.300.0270.07718.96
5.4.290.0270.05019.08
5.4.280.0300.07719.13
5.4.270.0300.07019.00
5.4.260.0300.07719.13
5.4.250.0270.06018.94
5.4.240.0330.07019.25
5.4.230.0330.06718.94
5.4.220.0200.05719.08
5.4.210.0400.06319.09
5.4.200.0300.05019.21
5.4.190.0370.06018.98
5.4.180.0330.07019.18
5.4.170.0300.06719.05
5.4.160.0300.03319.02
5.4.150.0500.04718.96
5.4.140.0300.06316.58
5.4.130.0430.05716.55
5.4.120.0270.06016.50
5.4.110.0170.06716.31
5.4.100.0270.07316.51
5.4.90.0400.06316.32
5.4.80.0370.06016.48
5.4.70.0200.05316.44
5.4.60.0230.07316.56
5.4.50.0370.06316.53
5.4.40.0400.05716.23
5.4.30.0330.03716.32
5.4.20.0330.06316.55
5.4.10.0330.06716.48
5.4.00.0300.06715.96
5.3.290.0230.05014.69
5.3.280.0300.06714.81
5.3.270.0330.06314.83
5.3.260.0200.05014.59
5.3.250.0300.05014.52
5.3.240.0230.07314.51
5.3.230.0330.06714.68
5.3.220.0270.06714.48
5.3.210.0300.05714.70
5.3.200.0300.04714.52
5.3.190.0230.04314.49
5.3.180.0300.06014.55
5.3.170.0230.05714.72
5.3.160.0300.05314.65
5.3.150.0400.05014.58
5.3.140.0400.05014.67
5.3.130.0270.05014.46
5.3.120.0270.06714.63
5.3.110.0330.07714.45
5.3.100.0330.05314.20
5.3.90.0270.06713.92
5.3.80.0300.07014.18
5.3.70.0330.06013.95
5.3.60.0330.06714.00
5.3.50.0300.07314.06
5.3.40.0230.04314.17
5.3.30.0200.03713.84
5.3.20.0170.04013.58
5.3.10.0170.03713.56
5.3.00.0170.03713.72
5.2.170.0330.05013.32
5.2.160.0330.05013.32
5.2.150.0200.03313.32
5.2.140.0130.03013.32
5.2.130.0170.02713.32
5.2.120.0130.03013.32
5.2.110.0130.03013.32
5.2.100.0130.03013.32
5.2.90.0170.02713.32
5.2.80.0130.03013.32
5.2.70.0100.03013.32
5.2.60.0130.03013.32
5.2.50.0130.02713.32
5.2.40.0100.03013.32
5.2.30.0170.02713.32
5.2.20.0100.03313.32
5.2.10.0130.02713.32
5.2.00.0170.04713.32
5.1.60.0170.03313.32
5.1.50.0100.03013.32
5.1.40.0130.02313.32
5.1.30.0130.02313.32
5.1.20.0100.03013.32
5.1.10.0100.02713.32
5.1.00.0170.02013.32
5.0.50.0030.02313.32
5.0.40.0070.02013.32
5.0.30.0130.02713.32
5.0.20.0070.02013.32
5.0.10.0070.02013.32
5.0.00.0070.03313.32
4.4.90.0030.01713.32
4.4.80.0070.01313.32
4.4.70.0100.02013.32
4.4.60.0030.01713.32
4.4.50.0070.02713.32
4.4.40.0070.02713.32
4.4.30.0030.01713.32
4.4.20.0070.01713.32
4.4.10.0030.01713.32
4.4.00.0030.02713.32
4.3.110.0030.01713.32
4.3.100.0070.01713.32
4.3.90.0030.01713.32
4.3.80.0070.02313.32
4.3.70.0030.01713.32
4.3.60.0070.01313.32
4.3.50.0070.01713.32
4.3.40.0030.02713.32
4.3.30.0030.01313.32
4.3.20.0030.01713.32
4.3.10.0030.01713.32
4.3.00.0030.01713.32