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); $messages = []; foreach($generator as $value) $messages[] = $value; var_dump($messages);

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.0130.00621.18
8.5.20.0120.00619.53
8.5.10.0100.00816.73
8.5.00.0110.01019.86
8.4.180.0130.01119.69
8.4.170.0120.01220.42
8.4.160.0130.00922.25
8.4.150.0070.00617.78
8.4.140.0130.00817.45
8.4.130.0130.00717.94
8.4.120.0100.01023.93
8.4.110.0100.01018.84
8.4.100.0120.01017.28
8.4.90.0110.00917.62
8.4.80.0100.01017.78
8.4.70.0090.00919.40
8.4.60.0060.00318.61
8.4.50.0100.01019.55
8.4.40.0030.00519.41
8.4.30.0170.00317.50
8.4.20.0060.01320.38
8.4.10.0000.01017.70
8.3.300.0130.00720.80
8.3.290.0100.01020.68
8.3.280.0130.00720.20
8.3.270.0090.01016.80
8.3.260.0130.00516.66
8.3.250.0090.00919.16
8.3.240.0130.00317.04
8.3.230.0050.00416.64
8.3.220.0140.00516.67
8.3.210.0100.00816.48
8.3.200.0100.00916.56
8.3.190.0050.00317.25
8.3.180.0030.00716.57
8.3.170.0040.01419.06
8.3.160.0080.00016.56
8.3.150.0110.00717.26
8.3.140.0140.00416.59
8.3.130.0040.00418.36
8.3.120.0030.00619.09
8.3.110.0040.00420.94
8.3.100.0000.00824.06
8.3.90.0080.00026.77
8.3.80.0090.00017.97
8.3.70.0060.00916.63
8.3.60.0120.00318.43
8.3.50.0050.01318.01
8.3.40.0150.00018.89
8.3.30.0070.00718.77
8.3.20.0070.00021.90
8.3.10.0080.00023.56
8.3.00.0040.00421.73
8.2.300.0130.00822.00
8.2.290.0120.00720.14
8.2.280.0100.00720.00
8.2.270.0060.01217.24
8.2.260.0100.00318.79
8.2.250.0160.00316.57
8.2.240.0060.00317.01
8.2.230.0100.00322.58
8.2.220.0100.00037.54
8.2.210.0050.00326.77
8.2.200.0090.00018.54
8.2.190.0090.00918.39
8.2.180.0130.00618.16
8.2.170.0130.00322.96
8.2.160.0090.00919.21
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0080.00019.77
8.2.120.0040.00426.35
8.2.110.0100.00021.08
8.2.100.0060.00617.84
8.2.90.0080.00017.91
8.2.80.0040.00418.03
8.2.70.0040.00417.63
8.2.60.0090.00017.75
8.2.50.0000.00818.10
8.2.40.0080.00021.01
8.2.30.0040.00419.36
8.2.20.0040.00417.99
8.2.10.0040.00419.90
8.2.00.0050.00319.38
8.1.340.0160.00517.73
8.1.330.0120.00616.57
8.1.320.0100.01015.84
8.1.310.0100.00316.53
8.1.300.0060.00318.39
8.1.290.0090.00030.84
8.1.280.0140.00325.92
8.1.270.0090.00918.95
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0050.00523.97
8.1.230.0110.00020.92
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0040.00417.35
8.1.190.0050.00217.23
8.1.180.0050.00318.10
8.1.170.0040.00418.46
8.1.160.0000.00818.93
8.1.150.0070.00018.82
8.1.140.0080.00023.84
8.1.130.0040.00420.09
8.1.120.0000.00817.49
8.1.110.0030.00317.45
8.1.100.0040.00417.51
8.1.90.0040.00417.45
8.1.80.0060.00617.34
8.1.70.0040.00417.48
8.1.60.0060.00317.54
8.1.50.0030.00517.50
8.1.40.0000.00817.54
8.1.30.0000.00717.58
8.1.20.0020.00517.57
8.1.10.0000.00717.57
8.1.00.0000.00817.32
8.0.300.0070.00019.91
8.0.290.0000.00716.63
8.0.280.0030.00318.32
8.0.270.0030.00317.13
8.0.260.0030.00318.40
8.0.250.0000.00716.91
8.0.240.0040.00416.96
8.0.230.0000.00716.89
8.0.220.0000.00716.83
8.0.210.0070.00016.85
8.0.200.0060.00016.81
8.0.190.0040.00416.88
8.0.180.0080.00016.89
8.0.170.0080.00016.80
8.0.160.0070.00016.88
8.0.150.0040.00416.89
8.0.140.0030.00316.84
8.0.130.0000.00613.35
8.0.120.0060.00316.90
8.0.110.0020.00516.86
8.0.100.0040.00417.00
8.0.90.0070.00016.90
8.0.80.0120.00716.83
8.0.70.0040.00416.82
8.0.60.0070.00016.70
8.0.50.0050.00316.81
8.0.30.0110.01117.22
8.0.20.0190.00016.97
8.0.10.0030.00516.90
8.0.00.0150.00616.71
7.4.330.0050.00016.67
7.4.320.0030.00316.58
7.4.300.0000.00616.48
7.4.290.0040.00416.39
7.4.280.0080.00016.58
7.4.270.0000.00716.59
7.4.260.0000.00816.38
7.4.250.0000.00716.48
7.4.240.0000.00716.49
7.4.230.0080.00016.30
7.4.220.0040.00416.47
7.4.210.0100.00516.51
7.4.200.0000.00816.39
7.4.160.0100.00816.53
7.4.140.0090.01317.86
7.4.130.0060.01116.52
7.4.120.0100.00716.48
7.4.110.0060.01116.55
7.4.100.0180.00516.54
7.4.90.0140.00916.45
7.4.80.0120.00619.39
7.4.70.0170.00316.47
7.4.60.0110.01116.35
7.4.50.0090.00616.36
7.4.40.0190.00316.49
7.4.10.0100.00614.79
7.4.00.0100.00514.77
7.3.330.0040.00413.19
7.3.320.0000.00513.19
7.3.310.0030.00316.25
7.3.300.0030.00316.36
7.3.290.0070.00016.36
7.3.280.0060.01316.38
7.3.260.0130.00716.37
7.3.240.0110.00816.49
7.3.230.0090.00916.46
7.3.210.0120.00616.54
7.3.200.0060.01016.36
7.3.190.0070.01016.43
7.3.180.0050.01116.60
7.3.170.0070.01116.41
7.3.160.0130.00616.62
7.3.130.0040.01415.04
7.3.120.0030.01315.14
7.3.110.0150.00014.76
7.3.100.0040.01214.91
7.3.90.0060.01015.08
7.3.80.0080.00414.62
7.3.70.0080.00814.99
7.3.60.0090.00614.90
7.3.50.0070.00714.66
7.3.40.0090.00314.86
7.3.30.0120.00414.80
7.3.20.0090.00316.80
7.3.10.0040.00916.60
7.3.00.0020.01016.65
7.2.330.0080.00916.57
7.2.320.0070.01316.69
7.2.310.0030.01916.75
7.2.300.0120.01216.79
7.2.290.0060.01516.89
7.2.260.0000.01715.12
7.2.250.0080.01115.00
7.2.240.0060.00914.82
7.2.230.0000.01514.95
7.2.220.0090.00615.08
7.2.210.0080.00815.36
7.2.200.0040.00814.96
7.2.190.0060.01015.19
7.2.180.0030.01314.98
7.2.170.0120.00615.11
7.2.160.0030.01015.14
7.2.150.0080.00817.08
7.2.140.0040.00817.00
7.2.130.0110.01216.19
7.2.120.0220.00616.10
7.2.110.0090.00716.18
7.2.100.0260.00516.18
7.2.90.0210.00716.14
7.2.80.0160.00916.29
7.2.70.0190.01116.42
7.2.60.0250.00516.07
7.2.50.0660.00316.34
7.2.40.0150.00416.37
7.2.30.0140.00816.20
7.2.20.0140.00816.42
7.2.10.0160.00716.33
7.2.00.0210.00616.36
7.1.330.0000.01615.95
7.1.320.0040.00715.90
7.1.310.0030.01015.70
7.1.300.0000.01415.71
7.1.290.0080.00415.71
7.1.280.0000.01615.81
7.1.270.0030.00715.95
7.1.260.0030.00615.97
7.1.250.0190.00915.17
7.1.240.0070.00415.91
7.1.230.0000.01215.53
7.1.220.0140.00015.98
7.1.210.0060.00615.78
7.1.200.0000.01315.94
7.1.190.0040.01215.66
7.1.180.0110.00315.76
7.1.170.0110.00715.92
7.1.160.0060.00316.04
7.1.150.0090.00615.71
7.1.140.0000.01115.91
7.1.130.0040.00716.00
7.1.120.0050.00515.83
7.1.110.0090.00615.69
7.1.100.0030.00615.78
7.1.90.0070.00315.92
7.1.80.0030.00715.96
7.1.70.0090.00615.84
7.1.60.0030.01115.71
7.1.50.0090.00315.93
7.1.40.0080.00816.03
7.1.30.0000.01815.58
7.1.20.0070.00415.94
7.1.10.0110.00315.85
7.1.00.0120.00415.80
7.0.330.0270.00714.41
7.0.320.0040.00415.60
7.0.310.0110.00415.46
7.0.300.0030.01515.42
7.0.290.0060.00615.63
7.0.280.0030.01015.10
7.0.270.0070.00715.42
7.0.260.0030.01015.50
7.0.250.0050.00515.45
7.0.240.0070.00715.57
7.0.230.0000.01315.41
7.0.220.0080.00815.27
7.0.210.0070.00715.59
7.0.200.0070.00715.59
7.0.190.0030.01015.45
7.0.180.0120.00615.50
7.0.170.0140.00015.30
7.0.160.0030.01015.64
7.0.150.0080.00415.20
7.0.140.0040.01115.36
7.0.130.0030.00915.39
7.0.120.0000.01415.67
7.0.110.0100.00315.50
7.0.100.0070.00715.49
7.0.90.0000.01115.17
7.0.80.0070.00715.46
7.0.70.0000.01415.32
7.0.60.0030.01115.45
7.0.50.0060.00315.64
7.0.40.0030.00613.54
7.0.30.0030.01013.57
7.0.20.0070.00613.61
7.0.10.0070.00713.58
7.0.00.0030.01013.59
5.6.400.0090.00614.13
5.6.390.0100.00714.16
5.6.380.0030.00913.94
5.6.370.0000.01214.11
5.6.360.0070.00713.82
5.6.350.0040.01113.84
5.6.340.0060.00914.13
5.6.330.0070.00714.30
5.6.320.0040.01114.28
5.6.310.0060.01013.81
5.6.300.0090.00614.40
5.6.290.0090.00613.90
5.6.280.0030.01014.23
5.6.270.0080.00814.13
5.6.260.0040.01114.11
5.6.250.0130.00014.16
5.6.240.0000.01414.24
5.6.230.0070.00314.11
5.6.220.0090.00314.02
5.6.210.0040.01114.07
5.6.200.0060.00614.25
5.6.190.0060.00314.36
5.6.180.0000.01314.10
5.6.170.0040.00414.22
5.6.160.0000.01313.88
5.6.150.0000.01514.06
5.6.140.0090.00614.24
5.6.130.0060.00914.24
5.6.120.0090.00313.96
5.6.110.0030.00614.00
5.6.100.0100.00314.30
5.6.90.0030.01014.40
5.6.80.0090.00314.18
5.6.70.0090.00614.14
5.6.60.0120.00314.07
5.6.50.0110.00614.12
5.6.40.0040.00414.08
5.6.30.0120.00314.00
5.6.20.0030.00613.89
5.6.10.0060.00314.08
5.6.00.0030.00514.28

preferences:
116.13 ms | 1945 KiB | 5 Q