3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function fetch_row() { return array('2016-05-13'); } } $mysqliResult = new Foo(); var_dump($mysqliResult->fetch_row()[0]);

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.1.130.0000.00717.64
8.1.120.0070.00017.42
8.1.110.0040.00417.30
8.1.100.0000.00717.29
8.1.90.0030.00617.39
8.1.80.0000.00817.41
8.1.70.0000.00717.29
8.1.60.0060.00317.59
8.1.50.0000.00917.51
8.1.40.0000.00817.52
8.1.30.0060.00317.63
8.1.20.0080.00017.64
8.1.10.0030.00617.37
8.1.00.0000.00717.36
8.0.260.0000.00717.19
8.0.250.0000.00716.86
8.0.240.0000.00816.82
8.0.230.0070.00016.89
8.0.220.0070.00016.87
8.0.210.0000.00716.77
8.0.200.0080.00016.85
8.0.190.0000.00916.91
8.0.180.0040.00416.85
8.0.170.0070.00016.75
8.0.160.0030.00416.93
8.0.150.0000.00716.68
8.0.140.0000.00816.80
8.0.130.0050.00013.28
8.0.120.0030.00616.68
8.0.110.0040.00416.82
8.0.100.0040.00416.65
8.0.90.0000.00716.74
8.0.80.0060.00916.73
8.0.70.0040.00416.71
8.0.60.0070.00016.86
8.0.50.0040.00416.80
8.0.30.0110.00716.86
8.0.20.0080.01217.40
8.0.10.0040.00416.93
8.0.00.0000.01716.86
7.4.330.0000.00515.08
7.4.320.0030.00316.43
7.4.300.0070.00016.62
7.4.290.0030.00316.64
7.4.280.0000.00816.57
7.4.270.0000.00716.61
7.4.260.0030.00316.48
7.4.250.0070.00016.46
7.4.240.0040.00416.51
7.4.230.0000.00716.53
7.4.220.0160.00316.66
7.4.210.0030.01216.48
7.4.200.0070.00016.70
7.4.160.0110.00716.58
7.4.150.0150.00317.40
7.4.140.0080.01117.86
7.4.130.0070.01016.43
7.4.120.0100.01016.40
7.4.110.0100.01016.70
7.4.100.0100.00716.50
7.4.90.0100.00716.50
7.4.80.0060.00919.39
7.4.70.0040.01216.43
7.4.60.0060.00916.36
7.4.50.0060.01016.45
7.4.40.0100.00716.46
7.4.30.0070.01016.31
7.4.00.0040.01114.64
7.3.330.0000.00513.16
7.3.320.0030.00313.13
7.3.310.0000.00816.29
7.3.300.0040.00416.30
7.3.290.0000.00716.30
7.3.280.0090.00816.28
7.3.270.0080.00817.40
7.3.260.0120.00516.41
7.3.250.0120.00816.39
7.3.240.0110.01016.40
7.3.230.0080.00816.48
7.3.210.0090.00616.35
7.3.200.0060.00916.22
7.3.190.0110.00816.51
7.3.180.0080.01516.42
7.3.170.0020.01616.29
7.3.160.0190.00316.37
7.2.330.0140.00416.63
7.2.320.0120.00416.27
7.2.310.0060.01116.50
7.2.300.0090.00916.55
7.2.290.0150.00716.74
7.2.60.0030.00716.86
7.1.200.0040.00815.45
7.1.70.0050.00317.25
7.1.60.0000.01119.75
7.1.00.0030.07722.34
7.0.200.0000.00816.71
7.0.100.0200.06320.00
7.0.90.0130.04019.93
7.0.80.0230.08319.93
7.0.70.0130.05320.03
7.0.60.0100.07720.08
7.0.50.0100.05720.29
7.0.40.0170.04320.03
7.0.30.0130.05020.03
7.0.20.0100.08020.18
7.0.10.0070.06320.01
7.0.00.0130.05720.02
5.6.250.0200.03320.77
5.6.240.0030.05020.64
5.6.230.0170.07020.66
5.6.220.0130.07320.58
5.6.210.0070.08320.59
5.6.200.0100.05020.95
5.6.190.0100.04021.08
5.6.180.0130.07320.96
5.6.170.0070.04721.11
5.6.160.0070.07721.01
5.6.150.0030.05321.07
5.6.140.0070.07021.08
5.6.130.0100.06321.11
5.6.120.0170.07021.11
5.6.110.0130.07321.00
5.6.100.0070.07720.92
5.6.90.0070.07021.08
5.6.80.0100.07020.43
5.6.70.0100.03720.40
5.6.60.0100.07320.48
5.6.50.0100.05720.32
5.6.40.0170.07020.47
5.6.30.0100.05020.49
5.6.20.0100.06320.38
5.6.10.0030.04320.41
5.6.00.0100.07020.34
5.5.380.0100.07320.37
5.5.370.0000.08320.57
5.5.360.0030.08320.41
5.5.350.0130.08020.42
5.5.340.0130.06320.79
5.5.330.0170.07320.89
5.5.320.0130.07320.84
5.5.310.0100.04720.64
5.5.300.0000.06020.92
5.5.290.0070.04720.93
5.5.280.0130.07720.73
5.5.270.0070.08720.79
5.5.260.0100.07320.75
5.5.250.0070.05020.68
5.5.240.0070.08020.14
5.5.230.0070.04720.24
5.5.220.0070.08020.18
5.5.210.0030.06320.30
5.5.200.0100.07720.28
5.5.190.0170.06720.13
5.5.180.0070.07020.13
5.5.160.0070.08020.19
5.5.150.0100.04020.07
5.5.140.0030.07020.25
5.5.130.0130.07720.15
5.5.120.0130.05720.23
5.5.110.0070.03720.17
5.5.100.0070.07320.10
5.5.90.0100.03020.09
5.5.80.0170.06019.93
5.5.70.0030.07319.96
5.5.60.0000.04020.11
5.5.50.0000.08020.03
5.5.40.0100.07320.08
5.5.30.0030.07320.07
5.5.20.0070.05020.09
5.5.10.0070.05019.97
5.5.00.0070.05720.11
5.4.450.0100.05719.45
5.4.440.0030.07719.37
5.4.430.0030.08319.32
5.4.420.0030.08319.46
5.4.410.0000.06019.10
5.4.400.0130.06319.10
5.4.390.0070.07019.03
5.4.380.0100.07019.23
5.4.370.0100.04719.16
5.4.360.0070.06719.04
5.4.350.0130.05318.88
5.4.340.0100.07319.18
5.4.320.0170.07319.04
5.4.310.0100.07319.21
5.4.300.0070.07019.23
5.4.290.0030.06019.15
5.4.280.0070.03319.23
5.4.270.0070.05019.16
5.4.260.0030.04319.23
5.4.250.0100.08019.15
5.4.240.0070.05318.89
5.4.230.0130.07319.04
5.4.220.0030.08719.21
5.4.210.0030.08019.15
5.4.200.0100.06719.17
5.4.190.0030.08719.19
5.4.180.0000.07718.84
5.4.170.0100.06718.88
5.4.160.0030.04018.85
5.4.150.0000.07019.02
5.4.140.0100.03316.44
5.4.130.0100.06316.33
5.4.120.0100.06016.42
5.4.110.0200.07016.34
5.4.100.0130.06716.36
5.4.90.0070.04016.45
5.4.80.0130.06016.30
5.4.70.0100.06316.51
5.4.60.0030.06716.32
5.4.50.0100.06316.44
5.4.40.0030.04016.54
5.4.30.0070.05716.36
5.4.20.0130.03316.41
5.4.10.0070.04016.36
5.4.00.0030.07315.89
5.3.290.0070.07014.73
5.3.280.0100.07014.70
5.3.270.0030.04314.74
5.3.260.0030.07014.59
5.3.250.0070.03714.67
5.3.240.0070.04314.72
5.3.230.0070.07714.52
5.3.220.0100.05314.63
5.3.210.0100.04014.54
5.3.200.0130.06714.49
5.3.190.0030.07714.67
5.3.180.0070.05014.58
5.3.170.0170.03314.68
5.3.160.0100.06714.55
5.3.150.0070.04314.49
5.3.140.0000.08314.56
5.3.130.0100.07714.53
5.3.120.0030.08314.66
5.3.110.0070.04014.48
5.3.100.0070.04714.16
5.3.90.0100.03713.95
5.3.80.0030.04314.01
5.3.70.0070.07714.04
5.3.60.0030.04013.89
5.3.50.0100.06713.93
5.3.40.0030.05713.92
5.3.30.0030.04314.04
5.3.20.0100.07313.75
5.3.10.0030.04313.76
5.3.00.0100.05013.53
5.2.170.0070.05311.04
5.2.160.0070.06011.21
5.2.150.0070.05011.14
5.2.140.0000.03711.13
5.2.130.0070.04311.08
5.2.120.0070.05311.02
5.2.110.0130.02011.21
5.2.100.0070.06311.21
5.2.90.0070.06010.96
5.2.80.0030.05310.91
5.2.70.0100.04310.98
5.2.60.0030.06011.19
5.2.50.0100.05311.07
5.2.40.0130.05310.90
5.2.30.0070.05710.96
5.2.20.0070.05710.99
5.2.10.0000.03710.77
5.2.00.0030.05710.73
5.1.60.0130.0409.98
5.1.50.0030.0279.98
5.1.40.0000.05710.09
5.1.30.0070.02710.40
5.1.20.0070.03010.40
5.1.10.0070.05010.17
5.1.00.0070.02710.16
5.0.50.0000.0508.54
5.0.40.0030.0438.50
5.0.30.0000.0378.50
5.0.20.0000.0438.50
5.0.10.0070.0408.50
5.0.00.0030.0538.50
4.4.90.0030.0378.50
4.4.80.0070.0308.50
4.4.70.0000.0238.50
4.4.60.0000.0378.50
4.4.50.0030.0208.50
4.4.40.0030.0338.50
4.4.30.0000.0178.50
4.4.20.0070.0138.50
4.4.10.0030.0378.50
4.4.00.0070.0238.50
4.3.110.0030.0338.50
4.3.100.0000.0208.50
4.3.90.0070.0208.50
4.3.80.0000.0338.50
4.3.70.0030.0178.50
4.3.60.0100.0308.50
4.3.50.0030.0178.50
4.3.40.0070.0408.50
4.3.30.0000.0378.50
4.3.20.0000.0338.50
4.3.10.0000.0308.50
4.3.00.0000.0178.50

preferences:
14.15 ms | 406 KiB | 5 Q