3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Rick { public static function say(string ...$words) { foreach($words as $word) { yield($word); } } } echo Rick::say('wubba','lubba','dub','dub');

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.0120.00916.63
8.3.50.0120.00317.93
8.3.40.0070.00718.84
8.3.30.0090.00618.75
8.3.20.0040.01120.25
8.3.10.0080.00023.48
8.3.00.0000.00721.74
8.2.180.0100.00718.54
8.2.170.0030.01322.96
8.2.160.0070.00722.25
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.70
8.2.120.0040.00426.35
8.2.110.0060.00319.30
8.2.100.0120.00017.93
8.2.90.0050.00319.22
8.2.80.0040.00417.97
8.2.70.0070.00317.75
8.2.60.0000.00917.93
8.2.50.0040.00418.09
8.2.40.0000.00822.12
8.2.30.0070.00019.50
8.2.20.0000.00717.77
8.2.10.0070.00017.91
8.2.00.0070.00018.09
8.1.280.0110.00425.92
8.1.270.0030.01022.19
8.1.260.0070.00428.09
8.1.250.0000.00728.09
8.1.240.0040.00422.48
8.1.230.0040.00717.57
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0050.00317.00
8.1.180.0040.00418.10
8.1.170.0080.00018.28
8.1.160.0070.00020.60
8.1.150.0000.00820.58
8.1.140.0000.00819.41
8.1.130.0030.00317.56
8.1.120.0030.00517.39
8.1.110.0040.00417.30
8.1.100.0080.00017.21
8.1.90.0040.00417.18
8.1.80.0000.00717.29
8.1.70.0040.00417.26
8.1.60.0080.00017.43
8.1.50.0000.00917.48
8.1.40.0000.01117.39
8.1.30.0050.00317.64
8.1.20.0040.00417.42
8.1.10.0030.00617.54
8.1.00.0040.00417.37
8.0.300.0000.00918.77
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0000.00717.26
8.0.260.0030.00317.25
8.0.250.0040.00416.98
8.0.240.0080.00016.96
8.0.230.0040.00416.93
8.0.220.0030.00316.80
8.0.210.0080.00016.78
8.0.200.0020.00516.84
8.0.190.0040.00416.84
8.0.180.0000.00716.92
8.0.170.0040.00416.95
8.0.160.0030.00316.93
8.0.150.0000.00716.73
8.0.140.0000.00816.83
8.0.130.0030.00313.36
8.0.120.0040.00416.86
8.0.110.0050.00216.79
8.0.100.0040.00416.83
8.0.90.0050.00216.87
8.0.80.0060.01316.84
8.0.70.0050.00316.93
8.0.60.0020.00516.82
8.0.50.0040.00416.91
8.0.30.0130.00617.07
8.0.20.0120.00717.40
8.0.10.0000.00716.86
8.0.00.0080.01016.72
7.4.330.0020.00216.84
7.4.320.0030.00316.38
7.4.300.0030.00316.50
7.4.290.0030.00316.61
7.4.280.0040.00416.57
7.4.270.0030.00316.60
7.4.260.0110.00016.55
7.4.250.0040.00416.43
7.4.240.0000.00716.63
7.4.230.0000.00816.69
7.4.220.0150.00416.61
7.4.210.0030.01316.62
7.4.200.0000.00716.40
7.4.160.0060.01016.54
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0080.00816.47
7.4.120.0130.00616.56
7.4.110.0110.00716.64
7.4.100.0190.00016.42
7.4.90.0060.01216.52
7.4.80.0060.01219.39
7.4.70.0060.01016.56
7.4.60.0120.01116.43
7.4.50.0080.00316.31
7.4.40.0110.01016.18
7.4.30.0070.01016.36
7.4.00.0060.00615.00
7.3.330.0000.00813.16
7.3.320.0000.00613.12
7.3.310.0080.00016.32
7.3.300.0070.00016.16
7.3.290.0000.00716.21
7.3.280.0110.00616.24
7.3.270.0070.01017.40
7.3.260.0030.01316.30
7.3.250.0110.00616.31
7.3.240.0100.00716.51
7.3.230.0060.01016.46
7.3.210.0000.01716.45
7.3.200.0120.00919.39
7.3.190.0100.01016.33
7.3.180.0160.00016.20
7.3.170.0160.00616.39
7.3.160.0060.00916.41
7.2.330.0130.00616.30
7.2.320.0130.00316.64
7.2.310.0080.00916.47
7.2.300.0100.01016.26
7.2.290.0120.00916.68
7.2.110.0160.00816.63
7.2.60.0100.00416.90
7.2.00.0140.00718.59
7.1.200.0030.00715.77
7.1.100.0080.00318.06
7.1.70.0060.00617.16
7.1.60.0090.00919.40
7.1.50.0070.01316.75
7.1.00.0070.07022.36
7.0.200.0000.00916.71
7.0.60.0170.06321.86
7.0.50.0070.05017.86
7.0.40.0130.04020.40
7.0.30.0200.04320.23
7.0.20.0330.07020.23
7.0.10.0100.07720.19
7.0.00.0070.08320.07
5.6.280.0000.03720.86
5.6.210.0100.06720.57
5.6.200.0130.05018.23
5.6.190.0200.07320.64
5.6.180.0330.07320.55
5.6.170.0130.04720.58
5.6.160.0070.05020.59
5.6.150.0030.08718.19
5.6.140.0070.05318.11
5.6.130.0130.07318.18
5.6.120.0030.05021.00
5.6.110.0070.07320.89
5.6.100.0130.03721.11
5.6.90.0100.08321.08
5.6.80.0100.06720.39
5.5.350.0200.07720.39
5.5.340.0100.05717.96
5.5.330.0170.07320.26
5.5.320.0530.05020.36
5.5.310.0330.08020.30
5.5.300.0030.04318.08
5.5.290.0000.07718.08
5.5.280.0070.03720.85
5.5.270.0070.04320.77
5.5.260.0100.05320.88
5.5.250.0070.04020.61
5.5.240.0230.07720.16

preferences:
51.67 ms | 401 KiB | 5 Q