3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function f ( $foo ) { var_dump($foo instanceof static); } } $c = new C(); $c->f('foo');

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.00416.63
8.3.50.0050.01417.37
8.3.40.0120.00618.54
8.3.30.0090.00618.42
8.3.20.0040.00418.79
8.3.10.0080.00018.70
8.3.00.0030.00619.38
8.2.180.0170.00318.16
8.2.170.0070.01122.96
8.2.160.0100.00319.28
8.2.150.0090.00924.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0040.00420.89
8.2.110.0070.00421.05
8.2.100.0070.00417.59
8.2.90.0060.00319.17
8.2.80.0030.00619.09
8.2.70.0090.00017.63
8.2.60.0050.00417.79
8.2.50.0000.01018.07
8.2.40.0030.00718.22
8.2.30.0050.00518.03
8.2.20.0060.00317.64
8.2.10.0000.00717.48
8.2.00.0040.00417.65
8.1.280.0100.01025.92
8.1.270.0100.00724.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00422.42
8.1.230.0110.00020.89
8.1.220.0060.00317.74
8.1.210.0040.00418.91
8.1.200.0060.00317.23
8.1.190.0020.00517.50
8.1.180.0030.00618.10
8.1.170.0030.00618.70
8.1.160.0040.00418.80
8.1.150.0040.00418.57
8.1.140.0040.00417.37
8.1.130.0070.00017.37
8.1.120.0040.00417.38
8.1.110.0040.00417.34
8.1.100.0000.00817.38
8.1.90.0040.00417.37
8.1.80.0070.00017.35
8.1.70.0000.00717.37
8.1.60.0040.00417.54
8.1.50.0030.00617.50
8.1.40.0030.00617.54
8.1.30.0040.00417.57
8.1.20.0000.00717.63
8.1.10.0040.00417.47
8.1.00.0000.00817.38
8.0.300.0040.00419.87
8.0.290.0040.00416.58
8.0.280.0000.00718.37
8.0.270.0040.00417.16
8.0.260.0060.00016.61
8.0.250.0000.00716.78
8.0.240.0050.00316.84
8.0.230.0000.00716.86
8.0.220.0040.00416.82
8.0.210.0050.00316.83
8.0.200.0000.00716.86
8.0.190.0040.00416.86
8.0.180.0000.00716.82
8.0.170.0000.00816.77
8.0.160.0000.00716.84
8.0.150.0030.00616.69
8.0.140.0000.00816.66
8.0.130.0000.00513.20
8.0.120.0000.00716.66
8.0.110.0040.00416.81
8.0.100.0040.00416.93
8.0.90.0050.00316.61
8.0.80.0110.00316.87
8.0.70.0040.00416.84
8.0.60.0070.00016.64
8.0.50.0050.00316.84
8.0.30.0090.00916.84
8.0.20.0120.00617.03
8.0.10.0050.00216.93
8.0.00.0120.01216.69
7.4.330.0000.00512.93
7.4.320.0030.00316.39
7.4.300.0000.00616.51
7.4.290.0050.00516.63
7.4.280.0080.00016.63
7.4.270.0040.00416.57
7.4.260.0030.00313.28
7.4.250.0040.00416.40
7.4.240.0040.00416.56
7.4.230.0040.00416.58
7.4.220.0100.00716.61
7.4.210.0080.00516.50
7.4.200.0070.00016.41
7.4.190.0000.00716.35
7.4.160.0070.01316.39
7.4.150.0070.01016.51
7.4.140.0150.00616.51
7.4.130.0050.01216.50
7.4.120.0130.00716.50
7.4.110.0070.01216.48
7.4.100.0080.01316.40
7.4.90.0090.00916.27
7.4.80.0000.02219.39
7.4.70.0100.00716.48
7.4.60.0100.00616.33
7.4.50.0120.00016.35
7.4.40.0090.00916.37
7.4.30.0100.00616.24
7.4.00.0040.00815.00
7.3.330.0030.00313.25
7.3.320.0000.00513.38
7.3.310.0040.00416.16
7.3.300.0070.00016.35
7.3.290.0210.01416.18
7.3.280.0090.00916.25
7.3.270.0060.01516.41
7.3.260.0130.00416.17
7.3.250.0110.01016.44
7.3.240.0090.01216.57
7.3.230.0030.01316.54
7.3.210.0070.01016.35
7.3.200.0090.00916.62
7.3.190.0140.00716.18
7.3.180.0060.01016.41
7.3.170.0000.01516.20
7.3.160.0120.00316.21
7.3.120.0030.01014.79
7.2.330.0040.01516.66
7.2.320.0100.00716.57
7.2.310.0160.00316.58
7.2.300.0060.01216.66
7.2.290.0090.00616.61
7.1.100.0030.00617.85
7.1.70.0030.00517.10
7.1.60.0060.01819.40
7.1.50.0070.01016.57
7.1.00.0070.07022.57
7.0.200.0000.00716.45
7.0.140.0000.06721.97
7.0.120.0030.03022.08
7.0.60.0130.07321.70
7.0.50.0100.08317.74
7.0.40.0200.06720.14
7.0.30.0270.07320.20
7.0.20.0400.06320.15
7.0.10.0100.08720.23
7.0.00.0070.06720.19
5.6.280.0070.07020.89
5.6.210.0070.06320.63
5.6.200.0100.08018.29
5.6.190.0170.08020.52
5.6.180.0500.07320.50
5.6.170.0330.07020.47
5.6.160.0130.07720.57
5.6.150.0130.07318.15
5.6.140.0030.08318.15
5.6.130.0100.06718.23
5.6.120.0070.03721.02
5.6.110.0070.06720.86
5.6.100.0070.08721.01
5.6.90.0000.06321.03
5.6.80.0100.07720.38
5.5.350.3500.03020.44
5.5.340.0000.04718.07
5.5.330.0100.08020.42
5.5.320.0230.06720.27
5.5.310.0200.05020.37
5.5.300.0070.07718.03
5.5.290.0100.04317.95
5.5.280.0100.07020.85
5.5.270.0100.08020.87
5.5.260.0070.08020.86
5.5.250.0070.03720.69
5.5.240.0300.05020.35
5.4.450.0030.04319.18
5.4.440.0070.04719.56
5.4.430.0000.04319.55
5.4.420.0100.06719.57
5.4.410.0030.04019.44
5.4.400.0100.05319.13
5.4.390.0100.07019.24
5.4.380.0030.04019.24
5.4.370.0030.06319.08
5.4.360.0030.05319.00
5.4.350.0070.04018.98
5.4.340.0000.05019.20
5.4.320.0170.06019.20
5.4.310.0000.05319.15
5.4.300.0070.04318.97
5.4.290.0100.04018.85
5.4.280.0030.08019.00
5.4.270.0130.07018.86
5.4.260.0130.05718.95
5.4.250.0070.06718.99
5.4.240.0030.06718.85
5.4.230.0070.04319.07
5.4.220.0030.08318.85
5.4.210.0000.05718.85
5.4.200.0030.03719.23
5.4.190.0070.04018.99
5.4.180.0070.03719.23
5.4.170.0000.04318.84
5.4.160.0130.03318.85
5.4.150.0070.03718.96
5.4.140.0070.03316.38
5.4.130.0100.06716.36
5.4.120.0070.07016.50
5.4.110.0100.07316.39
5.4.100.0030.07316.44
5.4.90.0100.07016.28
5.4.80.0070.06316.39
5.4.70.0230.03016.28
5.4.60.0070.07316.65
5.4.50.0070.05316.37
5.4.40.0170.05316.38
5.4.30.0070.07016.40
5.4.20.0100.06716.27
5.4.10.0000.03716.46
5.4.00.0030.07315.89
5.3.290.0130.04314.68
5.3.280.0030.07714.75
5.3.270.0000.04314.65
5.3.260.0070.05014.64
5.3.250.0100.03314.52
5.3.240.0100.04714.63
5.3.230.0030.07714.64
5.3.220.0000.04714.58
5.3.210.0070.06714.57
5.3.200.0070.07714.61
5.3.190.0000.07714.61
5.3.180.0070.07014.71
5.3.170.0000.08314.61
5.3.160.0130.06314.59
5.3.150.0100.07014.55
5.3.140.0100.07014.43
5.3.130.0170.05714.59
5.3.120.0100.06314.54
5.3.110.0130.03014.70
5.3.100.0030.04314.09
5.3.90.0030.05714.02
5.3.80.0100.03713.96
5.3.70.0100.03313.94
5.3.60.0070.03314.02
5.3.50.0100.03313.84
5.3.40.0000.06713.89
5.3.30.0070.03713.95
5.3.20.0030.03713.68
5.3.10.0000.04013.57
5.3.00.0100.04713.68
5.2.170.0030.06711.04
5.2.160.0100.04311.12
5.2.150.0070.03711.15
5.2.140.0030.03711.29
5.2.130.0070.04011.09
5.2.120.0070.03311.05
5.2.110.0030.04011.10
5.2.100.0030.06311.16
5.2.90.0000.03711.26
5.2.80.0100.02311.09
5.2.70.0070.03711.05
5.2.60.0030.03711.11
5.2.50.0030.03010.97
5.2.40.0100.06011.05
5.2.30.0070.05710.91
5.2.20.0070.05010.97
5.2.10.0070.02711.02
5.2.00.0030.06310.71
5.1.60.0070.04310.06
5.1.50.0070.05710.16
5.1.40.0030.05710.13
5.1.30.0000.04310.30
5.1.20.0070.04310.24
5.1.10.0070.05310.07
5.1.00.0070.04710.14
5.0.50.0030.0338.56
5.0.40.0000.0508.39
5.0.30.0030.0378.37
5.0.20.0070.0208.25
5.0.10.0070.0408.21
5.0.00.0000.0378.18
4.4.90.0000.0308.09
4.4.80.0000.0208.09
4.4.70.0000.0278.09
4.4.60.0000.0238.09
4.4.50.0070.0278.09
4.4.40.0030.0538.09
4.4.30.0000.0278.09
4.4.20.0000.0308.09
4.4.10.0030.0208.09
4.4.00.0030.0538.09
4.3.110.0030.0278.09
4.3.100.0100.0278.09
4.3.90.0000.0308.09
4.3.80.0000.0438.09
4.3.70.0000.0238.09
4.3.60.0000.0278.09
4.3.50.0030.0138.09
4.3.40.0070.0338.09
4.3.30.0000.0408.09
4.3.20.0000.0338.09
4.3.10.0000.0278.09
4.3.00.0070.0338.09

preferences:
43.05 ms | 400 KiB | 5 Q