3v4l.org

run code in 300+ PHP versions simultaneously
<?php function generator() { return; yield; } 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.4.20.0110.00820.82
8.4.10.0050.00322.29
8.3.150.0170.00717.02
8.3.140.0080.00817.28
8.3.130.0110.00316.54
8.3.120.0080.00020.97
8.3.110.0030.00620.94
8.3.100.0080.00018.59
8.3.90.0000.00826.77
8.3.80.0030.00616.50
8.3.70.0140.00716.58
8.3.60.0100.01318.31
8.3.50.0090.00517.15
8.3.40.0070.00718.73
8.3.30.0090.00618.77
8.3.20.0050.00320.69
8.3.10.0040.00421.66
8.3.00.0000.00720.94
8.2.270.0040.00416.46
8.2.260.0040.01116.95
8.2.250.0070.00716.46
8.2.240.0030.00618.92
8.2.230.0090.00322.58
8.2.220.0000.00824.06
8.2.210.0120.00626.77
8.2.200.0090.00018.01
8.2.190.0060.00916.58
8.2.180.0090.00625.92
8.2.170.0070.01018.91
8.2.160.0070.00722.21
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00320.87
8.2.110.0060.00322.15
8.2.100.0090.00317.78
8.2.90.0040.00420.65
8.2.80.0040.00417.97
8.2.70.0000.00817.68
8.2.60.0100.00417.64
8.2.50.0090.00518.27
8.2.40.0090.00518.74
8.2.30.0090.00418.68
8.2.20.0080.00618.27
8.2.10.0080.00618.68
8.2.00.0080.00618.53
8.1.310.0040.00418.27
8.1.300.0050.00519.72
8.1.290.0050.00530.84
8.1.280.0110.00725.92
8.1.270.0000.00920.33
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0070.00423.75
8.1.230.0110.00020.99
8.1.220.0000.00817.74
8.1.210.0050.00319.16
8.1.200.0050.00517.23
8.1.190.0100.00217.18
8.1.180.0080.00518.19
8.1.170.0110.00218.46
8.1.160.0100.00318.48
8.1.150.0120.00218.41
8.1.140.0060.00818.54
8.1.130.0110.00318.86
8.1.120.0110.00318.12
8.1.110.0080.00417.85
8.1.100.0110.00418.13
8.1.90.0100.00417.86
8.1.80.0080.00618.16
8.1.70.0110.00318.15
8.1.60.0110.00418.28
8.1.50.0090.00518.20
8.1.40.0120.00418.28
8.1.30.0120.00318.27
8.1.20.0120.00418.27
8.1.10.0110.00418.16
8.1.00.0090.00618.13
8.0.300.0120.00418.53
8.0.290.0080.00016.63
8.0.280.0080.00518.13
8.0.270.0110.00517.95
8.0.260.0080.00618.08
8.0.250.0120.00217.71
8.0.240.0100.00417.77
8.0.230.0110.00417.74
8.0.220.0090.00418.10
8.0.210.0070.00518.16
8.0.200.0090.00317.69
8.0.190.0090.00418.17
8.0.180.0080.00517.74
8.0.170.0110.00217.65
8.0.160.0090.00417.75
8.0.150.0060.00617.64
8.0.140.0070.00617.65
8.0.130.0070.00516.79
8.0.120.0070.00517.65
8.0.110.0090.00318.09
8.0.100.0100.00318.13
8.0.90.0090.00518.13
8.0.80.0090.00617.70
8.0.70.0090.00918.18
8.0.60.0070.00917.71
8.0.50.0070.00917.70
8.0.30.0100.00717.39
8.0.20.0110.00717.36
8.0.10.0120.00417.59
8.0.00.0090.00817.30
7.4.330.0060.00617.25
7.4.320.0090.00517.53
7.4.300.0100.00317.58
7.4.290.0080.00517.54
7.4.280.0100.00617.54
7.4.270.0070.00717.50
7.4.260.0090.00517.55
7.4.250.0120.00317.52
7.4.240.0090.00517.51
7.4.230.0100.00417.57
7.4.220.0090.00417.60
7.4.210.0100.00717.12
7.4.200.0100.00717.50
7.4.190.0120.00417.57
7.4.180.0110.00517.57
7.4.160.0090.00716.98
7.4.150.0070.00917.30
7.4.140.0100.00617.39
7.4.130.0090.00717.13
7.4.120.0120.00517.13
7.4.110.0100.00517.11
7.4.100.0080.00817.19
7.4.90.0100.00717.19
7.4.80.0120.00617.45
7.4.70.0080.00816.94
7.4.60.0100.00817.01
7.4.50.0100.00816.90
7.4.40.0100.00716.92
7.4.30.0100.00816.92
7.4.20.0100.00717.03
7.4.10.0090.00717.05
7.4.00.0070.00916.23
7.3.330.0080.00516.63
7.3.320.0120.00116.57
7.3.310.0070.00517.33
7.3.300.0090.00417.42
7.3.290.0090.00717.16
7.3.280.0120.00516.76
7.3.270.0120.00317.15
7.3.260.0100.00716.79
7.3.250.0090.00617.17
7.3.240.0080.00816.80
7.3.230.0090.00716.98
7.3.220.0110.00517.16
7.3.210.0110.00517.03
7.3.200.0110.00817.37
7.3.190.0080.00716.84
7.3.180.0100.00616.80
7.3.170.0120.00516.85
7.3.160.0090.00716.90
7.3.150.0110.00616.92
7.3.140.0090.00816.87
7.3.130.0100.00716.87
7.3.120.0100.00816.44
7.3.110.0100.00816.39
7.3.100.0100.00716.41
7.3.90.0090.00716.48
7.3.80.0100.00716.40
7.3.70.0100.00816.26
7.3.60.0110.00616.28
7.3.50.0120.00616.01
7.3.40.0110.00715.88
7.3.30.0080.00815.65
7.3.20.0180.00716.45
7.3.10.0200.00716.45
7.3.00.0140.00816.40
7.2.340.0090.00717.19
7.2.330.0090.00917.03
7.2.320.0120.00517.02
7.2.310.0130.00716.97
7.2.300.0120.00616.87
7.2.290.0110.00616.95
7.2.280.0150.00516.90
7.2.270.0090.00916.94
7.2.260.0110.00917.00
7.2.250.0110.00816.46
7.2.240.0120.00916.52
7.2.230.0130.00716.49
7.2.220.0130.00616.53
7.2.210.0120.00816.49
7.2.200.0150.00716.35
7.2.190.0120.00916.34
7.2.180.0110.00916.11
7.2.170.0130.00716.03
7.2.160.0110.00815.95
7.2.150.0280.00816.56
7.2.140.0210.00716.57
7.2.130.0160.00716.56
7.2.120.0240.00816.62
7.2.110.0160.00916.58
7.2.100.0160.00616.60
7.2.90.0190.00716.58
7.2.80.0220.00716.59
7.2.70.0170.00816.58
7.2.60.0190.00716.59
7.2.50.0150.00716.56
7.2.40.0180.00816.56
7.2.30.0200.00816.62
7.2.20.0190.00916.57
7.2.10.0220.00616.62
7.2.00.0200.00716.59
7.1.330.0110.00916.27
7.1.320.0140.00716.27
7.1.310.0110.00816.19
7.1.300.0130.00715.95
7.1.290.0130.00916.00
7.1.280.0100.00915.85
7.1.270.0170.00815.61
7.1.260.0180.00615.60
7.1.250.0160.00615.58
7.1.240.0120.00616.58
7.1.230.0080.00916.62
7.1.220.0110.00616.69
7.1.210.0100.00816.60
7.1.200.0130.00916.64
7.1.190.0080.01016.59
7.1.180.0120.00616.54
7.1.170.0110.00716.62
7.1.160.0120.00716.59
7.1.150.0100.00916.59
7.1.140.0090.00916.61
7.1.130.0110.00616.59
7.1.120.0140.00516.61
7.1.110.0120.00616.59
7.1.100.0120.00616.58
7.1.90.0110.00716.61
7.1.80.0130.00516.62
7.1.70.0140.00616.53
7.1.60.0130.00816.68
7.1.50.0100.00916.67
7.1.40.0130.00716.60
7.1.30.0150.00316.67
7.1.20.0130.00716.62
7.1.10.0140.00516.62
7.1.00.0160.00216.50

preferences:
36.55 ms | 403 KiB | 5 Q