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.0090.00821.32
8.5.20.0110.00919.63
8.5.10.0100.00816.51
8.5.00.0120.00919.94
8.4.180.0120.01019.50
8.4.170.0120.00920.32
8.4.160.0050.00624.16
8.4.150.0070.00516.75
8.4.140.0160.00717.66
8.4.130.0090.00217.99
8.4.120.0070.00224.00
8.4.110.0070.00322.41
8.4.100.0070.00318.75
8.4.90.0140.00618.95
8.4.80.0110.00920.64
8.4.70.0150.00517.93
8.4.60.0050.00318.82
8.4.50.0050.00518.70
8.4.40.0090.00919.34
8.4.30.0170.00319.27
8.4.20.0170.00320.45
8.4.10.0170.00317.86
8.3.300.0090.01220.68
8.3.290.0100.01020.82
8.3.280.0140.00718.30
8.3.270.0120.00716.43
8.3.260.0110.00816.51
8.3.250.0100.01018.77
8.3.240.0100.01117.32
8.3.230.0140.00516.59
8.3.220.0020.00619.05
8.3.210.0100.00518.35
8.3.200.0060.00316.66
8.3.190.0080.01117.07
8.3.180.0100.01017.12
8.3.170.0040.01118.98
8.3.160.0120.00616.92
8.3.150.0040.01417.18
8.3.140.0040.01116.85
8.3.130.0000.00818.31
8.3.120.0030.00618.95
8.3.110.0110.00416.56
8.3.100.0030.00624.06
8.3.90.0100.01026.77
8.3.80.0040.00817.97
8.3.70.0120.00616.63
8.3.60.0070.01420.21
8.3.50.0080.01318.03
8.3.40.0040.01118.75
8.3.30.0130.01018.73
8.3.20.0040.00421.81
8.3.10.0080.00023.70
8.3.00.0000.00721.82
8.2.300.0130.00922.16
8.2.290.0120.00820.55
8.2.280.0040.00418.14
8.2.270.0050.00317.09
8.2.260.0000.01818.50
8.2.250.0000.00818.21
8.2.240.0130.00619.09
8.2.230.0040.00720.94
8.2.220.0060.00637.54
8.2.210.0000.00826.77
8.2.200.0060.00318.04
8.2.190.0000.01418.27
8.2.180.0130.00616.38
8.2.170.0140.01022.96
8.2.160.0070.01019.14
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0110.00017.91
8.2.120.0190.00026.35
8.2.110.0040.00420.94
8.2.100.0060.00617.72
8.2.90.0040.00418.30
8.2.80.0060.00318.03
8.2.70.0050.00517.93
8.2.60.0000.00818.22
8.2.50.0100.00018.10
8.2.40.0080.00021.20
8.2.30.0030.00519.18
8.2.20.0040.00417.93
8.2.10.0030.00319.39
8.2.00.0050.00319.44
8.1.340.0070.01617.65
8.1.330.0070.01022.12
8.1.320.0130.00617.98
8.1.310.0080.00816.87
8.1.300.0130.00619.91
8.1.290.0080.00030.84
8.1.280.0070.00725.92
8.1.270.0060.00322.13
8.1.260.0000.01426.35
8.1.250.0040.00428.09
8.1.240.0080.00417.45
8.1.230.0110.00021.04
8.1.220.0020.00517.74
8.1.210.0060.00318.95
8.1.200.0030.00617.35
8.1.190.0030.00617.22
8.1.180.0000.00918.10
8.1.170.0030.00618.62
8.1.160.0040.00418.88
8.1.150.0050.00318.93
8.1.140.0040.00423.92
8.1.130.0030.00320.00
8.1.120.0000.00717.47
8.1.110.0000.00717.49
8.1.100.0030.00317.47
8.1.90.0040.00417.38
8.1.80.0000.00817.36
8.1.70.0070.00017.32
8.1.60.0030.00517.61
8.1.50.0040.00417.48
8.1.40.0030.00717.38
8.1.30.0040.00417.62
8.1.20.0000.00717.66
8.1.10.0000.00817.39
8.1.00.0030.00917.32
8.0.300.0000.00719.64
8.0.290.0050.00316.63
8.0.280.0000.00818.43
8.0.270.0070.00017.27
8.0.260.0030.00320.17
8.0.250.0000.00716.82
8.0.240.0040.00416.99
8.0.230.0000.00716.98
8.0.220.0000.00716.90
8.0.210.0000.00816.86
8.0.200.0000.00616.85
8.0.190.0070.00316.91
8.0.180.0060.00316.81
8.0.170.0030.00516.93
8.0.160.0040.00416.96
8.0.150.0030.00716.83
8.0.140.0000.00716.80
8.0.130.0030.00313.24
8.0.120.0070.00016.84
8.0.110.0070.00016.92
8.0.100.0000.00816.79
8.0.90.0000.00716.78
8.0.80.0050.01316.89
8.0.70.0070.00016.77
8.0.60.0050.00216.75
8.0.50.0040.00416.79
8.0.30.0160.00417.07
8.0.20.0140.01017.40
8.0.10.0040.00416.96
8.0.00.0120.00616.88
7.4.330.0000.00516.81
7.4.320.0000.00616.57
7.4.300.0000.00616.59
7.4.290.0060.00016.63
7.4.280.0000.00716.50
7.4.270.0000.00616.52
7.4.260.0030.00316.60
7.4.250.0000.00816.38
7.4.240.0030.00416.40
7.4.230.0000.00716.59
7.4.220.0040.00416.60
7.4.210.0120.00416.54
7.4.200.0000.00716.61
7.4.160.0140.00616.49
7.4.140.0110.01017.86
7.4.130.0090.00916.64
7.4.120.0130.00316.57
7.4.110.0170.00416.55
7.4.100.0090.00916.72
7.4.90.0070.01716.48
7.4.80.0100.00719.39
7.4.70.0100.00716.62
7.4.60.0100.00616.42
7.4.50.0070.00416.63
7.4.40.0120.00416.45
7.4.00.0050.01214.98
7.3.330.0020.00213.26
7.3.320.0000.00513.37
7.3.310.0040.00416.14
7.3.300.0050.00216.14
7.3.290.0060.00016.29
7.3.280.0070.01016.22
7.3.260.0140.00816.34
7.3.240.0130.00616.39
7.3.230.0070.01116.61
7.3.210.0100.00716.27
7.3.200.0110.01016.32
7.3.190.0070.01116.46
7.3.180.0030.01316.70
7.3.170.0070.01016.54
7.3.160.0070.01016.57
7.3.120.0050.01114.87
7.3.110.0040.01114.75
7.3.100.0070.00814.72
7.3.90.0120.00514.87
7.3.80.0050.00814.78
7.3.70.0040.00914.78
7.3.60.0060.00514.74
7.3.50.0020.00714.82
7.3.40.0030.01114.82
7.3.30.0060.00314.71
7.3.20.0040.00916.62
7.3.10.0060.00716.62
7.3.00.0110.00216.58
7.2.330.0030.01516.61
7.2.320.0180.00616.69
7.2.310.0110.00616.87
7.2.300.0160.00016.55
7.2.290.0080.00816.71
7.2.250.0110.00614.95
7.2.240.0080.01015.06
7.2.230.0050.00915.02
7.2.220.0060.00814.84
7.2.210.0060.00914.92
7.2.200.0050.00815.07
7.2.190.0050.00814.94
7.2.180.0030.01014.90
7.2.170.0050.00814.92
7.2.160.0100.00415.01
7.2.150.0050.00516.92
7.2.140.0070.00416.96
7.2.130.0030.01016.75
7.2.120.0090.00716.75
7.2.110.0090.00716.70
7.2.100.0060.00916.80
7.2.90.0080.00816.82
7.2.80.0030.01216.65
7.2.70.0090.00716.75
7.2.60.0040.01117.03
7.2.50.0060.00916.79
7.2.40.0040.00816.93
7.2.30.0040.01016.91
7.2.20.0080.00516.85
7.2.10.0040.00916.82
7.2.00.0100.00716.85
7.1.330.0040.00815.90
7.1.320.0070.00815.68
7.1.310.0050.00915.88
7.1.300.0090.00415.83
7.1.290.0050.01015.85
7.1.280.0020.01015.72
7.1.270.0030.00915.81
7.1.260.0080.00515.88
7.1.250.0020.01015.64
7.0.330.0070.00715.20
5.6.380.0110.00314.08

preferences:
45.53 ms | 1517 KiB | 5 Q