3v4l.org

run code in 300+ PHP versions simultaneously
<?php function gen($induced){ yield $induced ? "induced" : "not induced"; if(!$induced) yield from gen(true); } $generator = gen(false); var_dump(iterator_to_array($generator, false));

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.5.30.0110.00721.16
8.5.20.0080.01019.46
8.5.10.0030.00516.79
8.5.00.0120.01019.94
8.4.180.0130.00825.51
8.4.170.0150.00723.82
8.4.160.0150.00723.71
8.4.150.0090.00316.81
8.4.140.0100.01117.25
8.4.130.0060.00419.16
8.4.120.0080.01120.52
8.4.110.0110.00518.74
8.4.100.0130.00819.00
8.4.90.0090.01222.25
8.4.80.0060.00318.83
8.4.70.0090.01018.93
8.4.60.0100.01218.67
8.4.50.0110.01018.65
8.4.40.0100.01019.18
8.4.30.0040.00417.87
8.4.20.0100.01020.64
8.4.10.0030.00617.71
8.3.300.0110.00922.55
8.3.290.0180.00520.79
8.3.280.0100.01220.19
8.3.270.0130.00816.30
8.3.260.0100.00916.55
8.3.250.0120.00618.91
8.3.240.0160.00316.82
8.3.230.0120.00716.45
8.3.220.0120.00619.08
8.3.210.0110.00816.54
8.3.200.0030.00716.53
8.3.190.0050.00319.06
8.3.180.0080.01019.09
8.3.170.0050.00316.70
8.3.160.0090.00916.93
8.3.150.0150.00618.80
8.3.140.0150.00018.84
8.3.130.0040.00418.43
8.3.120.0060.00318.93
8.3.110.0050.00520.94
8.3.100.0030.00716.38
8.3.90.0070.01119.87
8.3.80.0090.00317.97
8.3.70.0160.00616.75
8.3.60.0110.00720.16
8.3.50.0120.00818.02
8.3.40.0090.00918.76
8.3.30.0120.00618.60
8.3.20.0040.00421.77
8.3.10.0000.00723.61
8.3.00.0100.00321.63
8.2.300.0130.00718.10
8.2.290.0110.00819.05
8.2.280.0110.01018.27
8.2.270.0150.00318.50
8.2.260.0110.00716.42
8.2.250.0040.00418.58
8.2.240.0130.00618.64
8.2.230.0030.00622.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0070.00718.18
8.2.190.0090.00920.16
8.2.180.0120.00618.02
8.2.170.0110.00722.96
8.2.160.0090.00619.07
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00619.23
8.2.110.0030.00620.79
8.2.100.0090.00317.78
8.2.90.0050.00318.15
8.2.80.0000.00817.97
8.2.70.0050.00317.93
8.2.60.0070.00318.09
8.2.50.0030.00618.10
8.2.40.0060.00321.11
8.2.30.0040.00419.16
8.2.20.0000.00717.97
8.2.10.0040.00419.43
8.2.00.0000.00819.27
8.1.340.0170.00719.75
8.1.330.0120.00718.34
8.1.320.0140.00715.87
8.1.310.0000.01016.77
8.1.300.0000.00918.13
8.1.290.0060.00318.88
8.1.280.0090.01225.92
8.1.270.0060.01322.46
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00517.33
8.1.230.0060.00620.89
8.1.220.0000.00717.74
8.1.210.0060.00318.91
8.1.200.0100.00017.35
8.1.190.0000.00817.36
8.1.180.0080.00018.10
8.1.170.0000.00818.46
8.1.160.0070.00018.88
8.1.150.0000.00818.92
8.1.140.0070.00023.83
8.1.130.0070.00017.42
8.1.120.0000.00717.50
8.1.110.0040.00417.48
8.1.100.0040.00317.48
8.1.90.0000.00717.46
8.1.80.0040.00417.43
8.1.70.0060.00317.45
8.1.60.0060.00317.45
8.1.50.0050.00317.42
8.1.40.0060.00917.57
8.1.30.0040.00417.62
8.1.20.0070.00317.53
8.1.10.0080.00017.55
8.1.00.0090.00017.30
8.0.300.0030.00619.62
8.0.290.0000.00816.75
8.0.280.0000.00818.31
8.0.270.0070.00017.16
8.0.260.0070.00016.79
8.0.250.0070.00016.96
8.0.240.0030.00316.96
8.0.230.0040.00416.97
8.0.220.0030.00316.82
8.0.210.0000.00716.79
8.0.200.0030.00316.91
8.0.190.0030.00516.92
8.0.180.0030.00516.96
8.0.170.0050.00316.86
8.0.160.0040.00416.96
8.0.150.0070.00016.87
8.0.140.0000.00716.73
8.0.130.0030.00413.33
8.0.120.0070.00016.89
8.0.110.0020.00516.89
8.0.100.0040.00416.77
8.0.90.0000.00916.87
8.0.80.0150.00416.83
8.0.70.0040.00416.94
8.0.60.0000.00716.74
8.0.50.0000.00816.69
8.0.30.0070.01317.09
8.0.20.0110.01717.40
8.0.10.0050.00316.89
8.0.00.0090.00816.86
7.4.330.0020.00216.66
7.4.320.0030.00316.57
7.4.300.0060.00016.57
7.4.290.0040.00416.56
7.4.280.0000.00716.54
7.4.270.0070.00016.44
7.4.260.0030.00516.53
7.4.250.0000.00816.55
7.4.240.0030.00316.57
7.4.230.0000.00816.70
7.4.220.0000.00816.50
7.4.210.0050.01016.54
7.4.200.0040.00316.68
7.4.160.0090.00816.47
7.4.140.0090.01217.86
7.4.130.0090.00916.65
7.4.120.0130.00916.63
7.4.110.0090.00916.38
7.4.100.0160.00716.43
7.4.90.0130.00416.47
7.4.80.0100.01319.39
7.4.70.0010.00216.66
7.4.60.0050.01116.53
7.4.50.0030.01016.21
7.4.40.0090.00616.49
7.4.00.0000.01814.96
7.3.330.0060.00013.21
7.3.320.0050.00013.16
7.3.310.0030.00316.34
7.3.300.0030.00316.13
7.3.290.0030.00316.15
7.3.280.0080.00916.27
7.3.260.0090.00916.27
7.3.240.0090.01116.53
7.3.230.0080.00816.66
7.3.210.0080.00816.30
7.3.200.0100.00716.35
7.3.190.0070.01016.31
7.3.180.0070.01416.56
7.3.170.0090.00916.31
7.3.160.0170.00316.54
7.2.330.0060.01216.49
7.2.320.0090.01416.38
7.2.310.0120.00816.59
7.2.300.0140.00316.61
7.2.290.0130.00616.61
7.2.130.0110.00916.77
7.2.120.0060.01016.36
7.2.110.0090.00616.48
7.2.100.0090.00616.48
7.2.90.0110.00316.58
7.2.80.0030.00916.50
7.2.70.0080.00816.65
7.2.60.0080.00417.08
7.2.50.0080.00817.09
7.2.40.0030.01216.87
7.2.30.0000.01716.87
7.2.20.0040.01217.08
7.2.10.0070.01117.06
7.2.00.0000.01816.91
7.1.250.0040.01115.58
7.0.330.0040.01115.17
5.6.380.0080.00813.98

preferences:
64.15 ms | 1375 KiB | 5 Q