3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface RangeFinderInterface { public function doStuff(): self; } class RangeFinder implements RangeFinderInterface { public function doStuff(): self { echo 'hello world', "\n"; return $this; } } $rf = new RangeFinder; $rf->doStuff()->doStuff()->doStuff();

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.4.120.0110.01020.66
8.4.110.0130.00722.48
8.4.100.0120.00917.84
8.4.90.0140.00718.79
8.4.80.0100.01019.43
8.4.70.0120.01017.90
8.4.60.0060.00618.69
8.4.50.0120.01118.82
8.4.40.0130.00619.30
8.4.30.0060.00620.57
8.4.20.0000.00819.56
8.4.10.0090.00917.51
8.3.250.0150.00419.07
8.3.240.0150.00416.55
8.3.230.0130.00616.46
8.3.220.0110.00817.14
8.3.210.0110.00916.54
8.3.200.0130.00516.68
8.3.190.0030.00616.97
8.3.180.0050.00316.82
8.3.170.0090.00920.64
8.3.160.0120.00616.98
8.3.150.0000.01817.16
8.3.140.0040.01516.75
8.3.130.0060.00316.54
8.3.120.0030.00620.87
8.3.110.0080.00018.38
8.3.100.0100.00616.52
8.3.90.0040.00426.77
8.3.80.0060.00318.55
8.3.70.0040.01116.50
8.3.60.0140.00718.43
8.3.50.0090.00324.36
8.3.40.0040.01118.70
8.3.30.0060.00918.58
8.3.20.0050.00221.07
8.3.10.0090.00019.98
8.3.00.0040.00420.61
8.2.290.0130.00520.39
8.2.280.0070.00818.25
8.2.270.0160.00316.91
8.2.260.0070.01116.66
8.2.250.0050.00318.46
8.2.240.0090.00017.26
8.2.230.0030.00720.94
8.2.220.0060.00324.06
8.2.210.0000.00826.77
8.2.200.0050.00518.29
8.2.190.0140.00716.58
8.2.180.0080.00816.75
8.2.170.0070.00722.96
8.2.160.0070.00722.16
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00819.95
8.2.110.0090.00622.13
8.2.100.0100.00319.45
8.2.90.0040.00417.91
8.2.80.0060.00620.33
8.2.70.0050.00317.80
8.2.60.0000.00818.13
8.2.50.0000.00818.10
8.2.40.0000.00919.34
8.2.30.0050.00219.31
8.2.20.0030.00518.18
8.2.10.0040.00418.88
8.2.00.0000.00719.27
8.1.330.0080.01122.08
8.1.320.0120.00716.25
8.1.310.0140.00318.27
8.1.300.0000.00818.66
8.1.290.0040.00418.88
8.1.280.0100.00725.92
8.1.270.0080.00020.68
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0080.00023.92
8.1.230.0030.00720.84
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0080.00017.36
8.1.180.0000.00818.10
8.1.170.0050.00318.57
8.1.160.0030.00618.89
8.1.150.0040.00418.94
8.1.140.0000.00818.89
8.1.130.0000.00717.50
8.1.120.0080.00017.48
8.1.110.0040.00417.47
8.1.100.0030.00517.47
8.1.90.0040.00417.42
8.1.80.0040.00717.48
8.1.70.0050.00317.34
8.1.60.0080.00017.53
8.1.50.0040.00417.41
8.1.40.0060.00317.57
8.1.30.0080.00017.64
8.1.20.0040.00417.61
8.1.10.0030.00617.59
8.1.00.0070.00417.40
8.0.300.0000.00720.12
8.0.290.0150.00016.58
8.0.280.0090.00018.45
8.0.270.0000.00817.17
8.0.260.0030.00316.74
8.0.250.0070.00016.89
8.0.240.0000.00717.00
8.0.230.0030.00316.97
8.0.220.0000.00716.93
8.0.210.0030.00316.78
8.0.200.0070.00016.95
8.0.190.0000.00716.88
8.0.180.0070.00016.84
8.0.170.0060.00316.91
8.0.160.0070.00016.81
8.0.150.0000.00716.78
8.0.140.0080.00016.86
8.0.130.0030.00313.37
8.0.120.0000.00816.81
8.0.110.0040.00416.89
8.0.100.0040.00416.74
8.0.90.0000.00816.77
8.0.80.0030.01016.79
8.0.70.0030.00516.73
8.0.60.0000.00716.85
8.0.50.0040.00416.95
8.0.30.0070.01317.04
8.0.20.0060.01217.17
8.0.10.0070.00017.00
8.0.00.0040.01416.79
7.4.330.0040.00015.55
7.4.320.0000.00616.60
7.4.300.0030.00316.50
7.4.290.0000.00816.55
7.4.280.0030.00816.63
7.4.270.0040.00416.59
7.4.260.0050.00013.27
7.4.250.0000.00716.44
7.4.240.0000.00716.48
7.4.230.0030.00316.70
7.4.220.0000.00716.65
7.4.210.0070.00716.57
7.4.200.0000.00716.50
7.4.140.0120.01217.86
7.4.130.0120.00616.57
7.4.120.0120.00616.40
7.4.110.0030.01316.57
7.4.100.0030.01916.50
7.4.90.0120.00616.51
7.4.80.0030.01919.39
7.4.70.0080.00816.43
7.4.60.0060.01216.46
7.4.50.0100.00716.17
7.4.40.0070.01016.50
7.4.00.0060.00914.84
7.3.330.0000.00716.27
7.3.320.0030.00313.09
7.3.310.0030.00316.34
7.3.300.0030.00316.26
7.3.290.0090.00616.22
7.3.280.0150.00016.18
7.3.260.0140.00416.26
7.3.240.0110.00616.35
7.3.230.0030.01316.47
7.3.210.0060.01016.27
7.3.200.0060.00916.47
7.3.190.0070.01016.35
7.3.180.0060.00916.45
7.3.170.0120.00816.41
7.3.160.0080.00816.37
7.3.120.0040.00814.68
7.3.110.0060.00914.59
7.3.100.0100.00714.46
7.3.90.0100.00314.44
7.3.80.0100.00314.49
7.3.70.0060.00914.53
7.3.60.0000.01314.63
7.3.50.0030.01014.79
7.3.40.0070.00714.30
7.3.30.0110.00414.54
7.3.20.0030.01114.58
7.3.10.0050.01014.55
7.3.00.0080.00714.68
7.2.330.0040.01416.56
7.2.320.0110.00916.56
7.2.310.0120.00316.41
7.2.300.0110.00616.59
7.2.290.0140.00316.61
7.2.250.0060.01314.88
7.2.240.0050.01114.59
7.2.230.0090.00914.79
7.2.220.0080.00615.04
7.2.210.0030.01314.61
7.2.200.0030.01014.61
7.2.190.0070.00714.77
7.2.180.0070.00714.90
7.2.170.0180.00014.80
7.2.160.0050.01014.64
7.2.150.0060.01314.71
7.2.140.0070.00714.60
7.2.130.0110.00514.75
7.2.120.0110.00414.94
7.2.110.0090.00614.63
7.2.100.0250.00514.67
7.2.90.0120.00914.95
7.2.80.0060.00915.12
7.2.70.0060.00914.99
7.2.60.0120.00314.80
7.2.50.0000.01514.85
7.2.40.0110.00414.93
7.2.30.0080.01215.01
7.2.20.0070.01014.80
7.2.10.0000.01414.52
7.2.00.0120.00314.96
7.1.330.0090.00313.80
7.1.320.0110.00313.73
7.1.310.0040.00913.52
7.1.300.0050.00813.61
7.1.290.0070.00713.35
7.1.280.0050.00913.48
7.1.270.0050.00813.57
7.1.260.0060.00913.79
7.1.250.0070.00713.70

preferences:
29.63 ms | 403 KiB | 5 Q