3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testObj = new StdClass(); $testObj->testing = 'hello'; $test = function() { echo $this->testing; }; $test->bindTo($testObj); $test();

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.0030.01216.63
8.3.50.0110.00517.48
8.3.40.0070.01118.96
8.3.30.0040.01118.76
8.3.20.0060.00318.49
8.3.10.0040.00420.48
8.3.00.0030.00619.51
8.2.180.0150.00616.50
8.2.170.0070.01422.96
8.2.160.0060.01019.09
8.2.150.0080.00024.18
8.2.140.0090.00924.66
8.2.130.0040.00426.16
8.2.120.0060.00318.85
8.2.110.0090.00019.45
8.2.100.0110.00017.97
8.2.90.0040.00418.09
8.2.80.0000.00719.25
8.2.70.0080.00017.75
8.2.60.0000.00818.05
8.2.50.0070.00518.07
8.2.40.0000.00818.16
8.2.30.0000.00818.04
8.2.20.0090.00017.55
8.2.10.0090.00017.68
8.2.00.0040.00417.85
8.1.280.0050.01025.92
8.1.270.0080.00023.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.11
8.1.230.0100.00020.89
8.1.220.0000.00817.74
8.1.210.0000.00818.86
8.1.200.0000.00917.47
8.1.190.0000.00717.64
8.1.180.0060.00318.10
8.1.170.0080.00018.70
8.1.160.0000.00718.82
8.1.150.0040.00418.60
8.1.140.0060.00317.37
8.1.130.0030.00317.83
8.1.120.0040.00417.54
8.1.110.0040.00417.39
8.1.100.0030.00317.32
8.1.90.0050.00317.46
8.1.80.0030.00317.37
8.1.70.0040.00417.31
8.1.60.0030.00617.54
8.1.50.0030.00517.36
8.1.40.0030.00617.57
8.1.30.0030.00617.56
8.1.20.0020.00517.60
8.1.10.0040.00417.52
8.1.00.0000.00717.48
8.0.300.0070.00019.97
8.0.290.0040.00416.63
8.0.280.0040.00418.38
8.0.270.0030.00317.23
8.0.260.0040.00416.81
8.0.250.0070.00016.84
8.0.240.0000.00716.95
8.0.230.0000.00716.92
8.0.220.0000.00716.72
8.0.210.0000.00816.81
8.0.200.0060.00017.01
8.0.190.0000.00816.91
8.0.180.0000.00716.98
8.0.170.0040.00416.79
8.0.160.0070.00016.97
8.0.150.0000.00716.93
8.0.140.0040.00416.95
8.0.130.0030.00313.34
8.0.120.0050.00316.92
8.0.110.0040.00416.90
8.0.100.0040.00416.95
8.0.90.0050.00316.91
8.0.80.0060.01316.99
8.0.70.0050.00316.80
8.0.60.0050.00316.96
8.0.50.0000.00716.77
8.0.30.0070.01416.91
8.0.20.0080.01316.97
8.0.10.0050.00217.00
8.0.00.0090.01216.69
7.4.330.0050.00012.90
7.4.320.0030.00316.54
7.4.300.0000.00716.60
7.4.290.0050.00216.55
7.4.280.0060.00316.60
7.4.270.0060.00016.48
7.4.260.0030.00313.33
7.4.250.0000.00716.58
7.4.240.0070.00016.45
7.4.230.0070.00016.66
7.4.220.0130.00616.50
7.4.210.0060.01316.57
7.4.200.0030.00316.61
7.4.190.0030.00616.64
7.4.160.0130.00316.60
7.4.150.0070.01316.51
7.4.140.0090.00916.61
7.4.130.0100.00716.63
7.4.120.0060.01216.45
7.4.110.0000.01716.57
7.4.100.0100.00716.59
7.4.90.0160.03116.56
7.4.80.0070.01119.39
7.4.70.0090.01416.61
7.4.60.0100.00716.50
7.4.50.0030.00316.32
7.4.40.0110.00316.16
7.4.30.0100.01116.59
7.4.00.0060.00915.02
7.3.330.0060.00013.31
7.3.320.0000.00713.24
7.3.310.0040.00416.30
7.3.300.0030.00316.30
7.3.290.0100.00416.31
7.3.280.0110.00916.29
7.3.270.0060.01216.52
7.3.260.0070.01116.47
7.3.250.0080.01216.36
7.3.240.0080.00916.37
7.3.230.0100.00816.52
7.3.210.0030.01816.23
7.3.200.0070.01016.47
7.3.190.0140.00716.32
7.3.180.0070.01016.47
7.3.170.0100.00716.61
7.3.160.0060.01016.41
7.3.120.0110.00414.86
7.3.110.0110.00414.97
7.3.100.0000.01114.50
7.3.90.0060.00814.86
7.3.80.0000.01414.89
7.3.70.0080.00314.89
7.3.60.0050.00514.86
7.3.50.0040.00414.59
7.3.40.0060.00614.84
7.3.30.0100.00014.39
7.3.20.0040.00416.74
7.3.10.0050.01016.51
7.3.00.0030.01016.53
7.2.330.0030.01316.82
7.2.320.0100.00816.74
7.2.310.0090.00916.75
7.2.300.0110.01516.84
7.2.290.0030.01416.63
7.2.240.0070.00715.02
7.2.230.0000.01215.07
7.2.220.0000.01614.92
7.2.210.0000.01415.21
7.2.200.0030.01414.88
7.2.190.0000.01315.11
7.2.180.0070.00714.81
7.2.170.0100.00314.96
7.2.160.0000.00914.98
7.2.150.0070.00316.93
7.2.140.0060.00916.91
7.2.130.0110.00516.86
7.2.120.0060.00916.79
7.2.110.0110.00616.87
7.2.100.0100.00716.88
7.2.90.0030.00916.95
7.2.80.0050.00516.96
7.2.70.0060.01016.93
7.2.60.0040.00716.97
7.2.50.0020.00916.94
7.2.40.0050.01016.87
7.2.30.0110.00516.86
7.2.20.0020.01116.85
7.2.10.0080.00316.99
7.2.00.0060.00717.68
7.1.330.0070.00715.80
7.1.320.0060.01015.79
7.1.310.0070.00715.49
7.1.300.0070.00715.58
7.1.290.0060.00615.94
7.1.280.0090.00315.65
7.1.270.0090.00315.79
7.1.260.0060.00615.71
7.1.250.0050.00715.72
7.1.200.0040.00815.52
7.1.70.0050.00317.05
7.1.60.0030.00717.15
7.1.50.0070.01417.09
7.1.00.0000.03722.30
7.0.200.0000.01016.73
7.0.140.0030.07322.09
7.0.120.0070.06322.16
7.0.60.0000.08319.86
7.0.50.0070.05017.96
7.0.40.0130.08020.11
7.0.30.0300.04720.33
7.0.20.0300.04320.15
7.0.10.0100.08320.25
7.0.00.0130.03320.07
5.6.280.0030.07321.12
5.6.210.0000.08320.67
5.6.200.0070.07318.13
5.6.190.0100.05320.43
5.6.180.0330.07020.50
5.6.170.0300.05720.50
5.6.160.0100.07720.43
5.6.150.0100.08318.18
5.6.140.0100.06318.16
5.6.130.0070.04018.27
5.6.120.0030.04021.09
5.6.110.0170.07321.11
5.6.100.0070.08321.13
5.6.90.0030.04020.97
5.6.80.0070.08020.36
5.5.350.0300.07720.28
5.5.340.0130.06017.96
5.5.330.0070.06020.30
5.5.320.0170.04720.36
5.5.310.0300.06720.36
5.5.300.0030.04017.97
5.5.290.0100.07717.94
5.5.280.0170.03020.89
5.5.270.0000.04320.86
5.5.260.0070.03720.87
5.5.250.0000.06020.69
5.5.240.0100.07320.27
5.4.450.0030.04319.42
5.4.440.0100.05719.52
5.4.430.0030.05719.48
5.4.420.0100.07019.52
5.4.410.0030.07019.07
5.4.400.0000.07719.09
5.4.390.0030.07019.32
5.4.380.0030.07019.17
5.4.370.0030.05719.31
5.4.360.0000.07019.21
5.4.350.0100.05018.99
5.4.340.0130.06719.09
5.4.320.0030.08019.22
5.4.310.0070.06719.23
5.4.300.0030.04319.14
5.4.290.0030.07719.16
5.4.280.0030.06718.99
5.4.270.0030.06319.13
5.4.260.0030.05019.21
5.4.250.0070.05318.98
5.4.240.0100.05319.14
5.4.230.0000.06718.99
5.4.220.0100.07019.15
5.4.210.0030.07318.94
5.4.200.0070.05018.88
5.4.190.0030.06318.98
5.4.180.0070.06019.30
5.4.170.0030.07018.93
5.4.160.0030.05019.11
5.4.150.0130.07019.17
5.4.140.0000.06016.37
5.4.130.0030.07716.51
5.4.120.0030.07016.28
5.4.110.0000.05316.27
5.4.100.0030.04316.45
5.4.90.0070.07016.53
5.4.80.0070.05016.54
5.4.70.0030.07016.56
5.4.60.0070.05316.17
5.4.50.0030.07716.33
5.4.40.0030.06016.38
5.4.30.0070.07016.47
5.4.20.0000.04716.54
5.4.10.0100.06016.42
5.4.00.0070.07015.80
5.3.290.0000.07714.73
5.3.280.0070.06014.70
5.3.270.0100.07014.50
5.3.260.0070.08014.50
5.3.250.0070.06714.52
5.3.240.0000.04014.73
5.3.230.0030.08014.70
5.3.220.0030.07014.57
5.3.210.0000.08314.68
5.3.200.0000.07714.54
5.3.190.0070.06714.54
5.3.180.0000.08014.61
5.3.170.0070.07014.48
5.3.160.0030.04714.57
5.3.150.0070.05014.56
5.3.140.0030.05714.46
5.3.130.0000.07314.59
5.3.120.0030.07014.44
5.3.110.0030.06014.63
5.3.100.0000.07714.19
5.3.90.0030.07314.09
5.3.80.0030.07713.95
5.3.70.0000.04014.17
5.3.60.0000.03714.09
5.3.50.0070.05313.86
5.3.40.0000.04713.96
5.3.30.0030.06314.12
5.3.20.0070.06313.77
5.3.10.0000.03713.57
5.3.00.0030.03313.55
5.2.170.0070.04012.16
5.2.160.0030.06012.16
5.2.150.0030.05712.16
5.2.140.0000.05312.16
5.2.130.0070.04712.16
5.2.120.0030.04312.16
5.2.110.0000.03012.16
5.2.100.0000.03312.16
5.2.90.0030.02712.16
5.2.80.0000.03012.16
5.2.70.0000.03012.16
5.2.60.0000.03012.16
5.2.50.0000.03012.16
5.2.40.0000.02712.16
5.2.30.0000.03012.16
5.2.20.0030.02712.16
5.2.10.0000.02712.16
5.2.00.0000.05012.16
5.1.60.0000.02312.16
5.1.50.0030.02312.16
5.1.40.0000.02312.16
5.1.30.0030.02312.16
5.1.20.0030.02712.16
5.1.10.0000.02312.16
5.1.00.0030.02312.16
5.0.50.0000.02012.16
5.0.40.0000.02312.16
5.0.30.0030.03012.16
5.0.20.0000.04312.16
5.0.10.0030.02012.16
5.0.00.0030.02712.16
4.4.90.0030.01312.16
4.4.80.0000.01712.16
4.4.70.0000.01712.16
4.4.60.0000.01312.16
4.4.50.0000.01312.16
4.4.40.0000.02712.16
4.4.30.0000.01312.16
4.4.20.0000.01312.16
4.4.10.0000.02012.16
4.4.00.0000.04712.16
4.3.110.0000.01312.16
4.3.100.0030.01012.16
4.3.90.0000.01312.16
4.3.80.0000.02312.16
4.3.70.0030.01312.16
4.3.60.0000.02012.16
4.3.50.0000.01312.16
4.3.40.0000.02312.16
4.3.30.0000.01712.16
4.3.20.0000.01712.16
4.3.10.0000.01712.16
4.3.00.0000.01712.16

preferences:
42.55 ms | 400 KiB | 5 Q