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));

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.0100.00721.28
8.5.20.0100.00619.36
8.5.10.0090.00816.70
8.5.00.0140.00719.93
8.4.180.0110.01122.09
8.4.170.0140.00920.29
8.4.160.0110.00923.92
8.4.150.0070.00516.76
8.4.140.0140.01317.67
8.4.130.0130.00717.73
8.4.120.0100.01020.39
8.4.110.0060.00422.46
8.4.100.0040.00517.69
8.4.90.0130.00718.73
8.4.80.0060.00319.48
8.4.70.0090.01017.79
8.4.60.0050.00418.72
8.4.50.0100.01018.68
8.4.40.0030.00519.21
8.4.30.0100.01019.25
8.4.20.0100.01020.30
8.4.10.0070.00317.65
8.3.300.0140.00620.63
8.3.290.0070.01418.63
8.3.280.0120.00818.35
8.3.270.0140.00616.49
8.3.260.0040.00416.64
8.3.250.0060.00318.87
8.3.240.0100.00516.86
8.3.230.0110.00816.61
8.3.220.0090.00617.30
8.3.210.0040.00816.70
8.3.200.0050.00316.28
8.3.190.0080.00917.29
8.3.180.0090.01016.63
8.3.170.0040.00417.26
8.3.160.0120.00616.50
8.3.150.0120.00319.00
8.3.140.0060.00318.68
8.3.130.0080.00018.38
8.3.120.0030.00718.75
8.3.110.0000.00820.94
8.3.100.0090.00024.06
8.3.90.0120.00618.21
8.3.80.0030.00618.28
8.3.70.0090.01216.75
8.3.60.0140.00018.30
8.3.50.0130.00517.93
8.3.40.0040.01118.84
8.3.30.0070.00718.71
8.3.20.0000.00823.61
8.3.10.0000.00823.46
8.3.00.0040.00421.76
8.2.300.0110.00919.86
8.2.290.0070.00320.35
8.2.280.0050.00318.50
8.2.270.0190.00016.98
8.2.260.0160.00316.45
8.2.250.0130.00718.50
8.2.240.0100.00617.29
8.2.230.0080.00022.58
8.2.220.0080.00037.54
8.2.210.0140.00426.77
8.2.200.0030.00618.29
8.2.190.0120.00318.02
8.2.180.0160.00618.29
8.2.170.0090.00622.96
8.2.160.0110.00418.90
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00419.83
8.2.120.0040.00426.35
8.2.110.0060.00321.05
8.2.100.0080.00417.91
8.2.90.0040.00418.15
8.2.80.0000.00817.97
8.2.70.0030.00517.90
8.2.60.0070.00018.16
8.2.50.0070.00318.10
8.2.40.0000.00821.07
8.2.30.0050.00219.11
8.2.20.0040.00418.06
8.2.10.0000.00819.75
8.2.00.0000.00819.27
8.1.340.0110.00921.52
8.1.330.0140.00522.13
8.1.320.0080.01116.28
8.1.310.0040.00418.27
8.1.300.0040.00418.49
8.1.290.0050.00518.88
8.1.280.0100.01025.92
8.1.270.0100.00022.24
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0060.00923.98
8.1.230.0080.00420.89
8.1.220.0030.00517.74
8.1.210.0040.00418.87
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0030.00518.59
8.1.160.0040.00418.84
8.1.150.0000.00718.79
8.1.140.0080.00023.91
8.1.130.0040.00420.13
8.1.120.0070.00317.46
8.1.110.0080.00017.41
8.1.100.0070.00017.48
8.1.90.0040.00417.50
8.1.80.0000.00917.44
8.1.70.0030.00317.47
8.1.60.0030.00617.57
8.1.50.0030.00617.48
8.1.40.0000.00817.52
8.1.30.0080.00017.54
8.1.20.0040.00417.59
8.1.10.0050.00317.54
8.1.00.0030.00617.46
8.0.300.0060.00319.63
8.0.290.0060.00316.63
8.0.280.0070.00018.43
8.0.270.0030.00517.25
8.0.260.0060.00018.35
8.0.250.0030.00316.84
8.0.240.0040.00416.95
8.0.230.0000.00716.82
8.0.220.0000.00816.92
8.0.210.0030.00316.78
8.0.200.0030.00316.92
8.0.190.0000.00717.00
8.0.180.0050.00316.90
8.0.170.0040.00416.95
8.0.160.0040.00416.90
8.0.150.0000.00816.88
8.0.140.0030.00316.83
8.0.130.0060.00013.32
8.0.120.0060.00316.84
8.0.110.0040.00416.71
8.0.100.0040.00416.85
8.0.90.0070.00016.86
8.0.80.0090.00916.88
8.0.70.0040.00416.77
8.0.60.0040.00416.76
8.0.50.0070.00016.94
8.0.30.0090.00917.00
8.0.20.0070.01117.40
8.0.10.0000.00717.05
8.0.00.0070.01316.69
7.4.330.0000.00516.77
7.4.320.0040.00416.59
7.4.300.0030.00316.59
7.4.290.0070.00016.50
7.4.280.0000.00716.53
7.4.270.0030.00316.51
7.4.260.0070.00016.45
7.4.250.0040.00416.45
7.4.240.0080.00016.48
7.4.230.0030.00316.69
7.4.220.0000.00816.32
7.4.210.0080.00816.59
7.4.200.0030.00316.60
7.4.160.0100.01016.47
7.4.140.0110.00617.86
7.4.130.0060.01116.57
7.4.120.0130.00616.39
7.4.110.0110.00616.55
7.4.100.0180.00016.44
7.4.90.0140.00316.59
7.4.80.0120.00919.39
7.4.70.0030.01316.54
7.4.60.0120.00316.28
7.4.50.0100.00316.50
7.4.40.0140.00916.54
7.4.00.0100.00715.14
7.3.330.0060.00013.32
7.3.320.0000.00613.13
7.3.310.0030.00316.19
7.3.300.0000.00716.29
7.3.290.0000.00716.16
7.3.280.0090.00916.25
7.3.260.0090.01116.37
7.3.240.0110.00716.38
7.3.230.0130.00716.28
7.3.210.0070.01016.65
7.3.200.0070.01516.44
7.3.190.0080.00816.61
7.3.180.0030.01416.46
7.3.170.0100.00716.66
7.3.160.0090.01216.30
7.2.330.0120.00616.73
7.2.320.0100.00716.58
7.2.310.0110.00616.70
7.2.300.0100.00716.72
7.2.290.0110.00616.64
7.2.130.0150.00414.73
7.2.120.0400.00314.62
7.2.110.0360.00014.45
7.2.100.0530.01014.70
7.2.90.0520.00414.56
7.2.80.0350.00314.56
7.2.70.0440.00915.09
7.2.60.0470.01415.09
7.2.50.0690.00314.82
7.2.40.0330.01315.05
7.2.30.0540.00614.92
7.2.20.0440.00714.97
7.2.10.0610.01315.05
7.2.00.0290.01015.04
7.1.250.0080.00813.91
7.0.330.0920.01013.27
5.6.380.0030.01014.05

preferences:
45.39 ms | 1369 KiB | 5 Q