3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(...$args) { var_dump($args); } function gen() { yield 1.23 => 123; } foo(...gen());

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.3.130.0180.00517.86
8.3.120.0240.00617.83
8.3.110.0230.00417.68
8.3.100.0190.00917.37
8.3.90.0270.00819.80
8.3.80.0260.00519.50
8.3.70.0230.01019.50
8.3.60.0260.00720.81
8.3.50.0210.00619.53
8.3.40.0220.00620.06
8.3.30.0170.00820.82
8.3.20.0190.00721.63
8.3.10.0180.00621.61
8.3.00.0160.00721.06
8.2.250.0190.00717.25
8.2.240.0210.00417.42
8.2.230.0240.00417.94
8.2.220.0160.00920.54
8.2.210.0200.00819.86
8.2.200.0210.00719.77
8.2.190.0210.00819.45
8.2.180.0210.00620.28
8.2.170.0200.00820.36
8.2.160.0190.00621.07
8.2.150.0160.00922.48
8.2.140.0200.00621.47
8.2.130.0210.00521.52
8.2.120.0190.00621.06
8.2.110.0160.00820.86
8.2.100.0190.00720.71
8.2.90.0200.00620.50
8.2.80.0200.00620.54
8.2.70.0180.00633.80
8.2.60.0180.00629.29
8.2.50.0170.00729.28
8.2.40.0150.00627.00
8.2.30.0150.00627.39
8.2.20.0150.00727.31
8.2.10.0140.00626.14
8.2.00.0160.00526.64
8.1.300.0230.00817.32
8.1.290.0230.00721.10
8.1.280.0200.00920.06
8.1.270.0190.00621.25
8.1.260.0160.00721.83
8.1.250.0180.00721.86
8.1.240.0170.00820.79
8.1.230.0150.00920.55
8.1.220.0180.00520.28
8.1.210.0170.00620.37
8.1.200.0150.00629.11
8.1.190.0160.00729.10
8.1.180.0180.00629.12
8.1.170.0150.00727.02
8.1.160.0160.00727.64
8.1.150.0150.00727.31
8.1.140.0150.00426.56
8.1.130.0110.00625.56
8.1.120.0130.00626.23
8.1.110.0130.00726.12
8.1.100.0130.00625.61
8.1.90.0120.00624.10
8.1.80.0130.00625.06
8.1.70.0120.00623.27
8.1.60.0140.00523.35
8.1.50.0140.00523.17
8.1.40.0140.00522.78
8.1.30.0140.00622.85
8.1.20.0140.00622.91
8.1.10.0140.00522.37
8.1.00.0140.00622.63
8.0.300.0160.00820.22
8.0.290.0190.00628.82
8.0.280.0180.00627.36
8.0.270.0150.00526.52
8.0.260.0160.00526.21
8.0.250.0160.00625.89
8.0.240.0180.00625.88
8.0.230.0170.00625.56
8.0.220.0170.00524.70
8.0.210.0170.00624.70
8.0.200.0140.00722.94
8.0.190.0160.00522.94
8.0.180.0140.00522.81
8.0.170.0160.00522.38
8.0.160.0150.00522.37
8.0.150.0150.00622.33
8.0.140.0150.00622.33
8.0.130.0150.00522.15
8.0.120.0160.00522.22
8.0.110.0140.00522.10
8.0.100.0130.00521.69
8.0.90.0150.00521.57
8.0.80.0140.00621.47
8.0.70.0130.00521.57
8.0.60.0140.00621.57
8.0.50.0140.00521.57
8.0.30.0130.00521.18
8.0.20.0130.00621.14
8.0.10.0140.00521.14
8.0.00.0110.00621.00
7.4.330.0150.00425.54
7.4.320.0180.00525.70
7.4.300.0160.00522.69
7.4.290.0170.00422.54
7.4.280.0160.00522.12
7.4.270.0180.00422.01
7.4.260.0160.00522.02
7.4.250.0160.00622.01
7.4.240.0170.00521.90
7.4.230.0150.00621.36
7.4.220.0140.00521.38
7.4.210.0140.00521.35
7.4.200.0140.00521.40
7.4.190.0150.00521.42
7.4.180.0140.00521.42
7.4.160.0140.00421.04
7.4.150.0120.00620.92
7.4.140.0120.00620.56
7.4.130.0130.00620.62
7.4.120.0120.00620.63
7.4.110.0120.00620.46
7.4.100.0130.00520.38
7.4.90.0120.00620.36
7.4.80.0120.00720.20
7.4.70.0120.00620.20
7.4.60.0130.00519.98
7.4.50.0120.00619.94
7.4.40.0120.00619.90
7.4.30.0110.00619.94
7.4.20.0120.00619.69
7.4.10.0120.00619.41
7.4.00.0110.00619.27
7.3.330.0140.00621.74
7.3.320.0150.00421.78
7.3.310.0150.00521.85
7.3.300.0120.00520.95
7.3.290.0140.00521.19
7.3.280.0140.00520.76
7.3.270.0140.00420.76
7.3.260.0140.00620.51
7.3.250.0140.00520.59
7.3.240.0130.00620.31
7.3.230.0130.00520.40
7.3.220.0150.00520.29
7.3.210.0140.00520.22
7.3.200.0130.00620.05
7.3.190.0130.00720.05
7.3.180.0140.00619.88
7.3.170.0130.00719.91
7.3.160.0150.00519.82
7.3.150.0130.00719.82
7.3.140.0130.00619.69
7.3.130.0130.00619.31
7.3.120.0130.00619.20
7.3.110.0130.00619.04
7.3.100.0110.00718.90
7.3.90.0130.00618.90
7.3.80.0130.00618.67
7.3.70.0120.00618.69
7.3.60.0120.00718.65
7.3.50.0130.00618.60
7.3.40.0120.00718.46
7.3.30.0130.00718.40
7.3.20.0160.00618.91
7.3.10.0170.00618.86
7.3.00.0190.00718.78
7.2.340.0140.00620.53
7.2.330.0140.00720.25
7.2.320.0150.00620.09
7.2.310.0140.00719.97
7.2.300.0140.00719.97
7.2.290.0150.00619.85
7.2.280.0130.00719.87
7.2.270.0140.00619.69
7.2.260.0130.00719.35
7.2.250.0130.00719.24
7.2.240.0140.00719.09
7.2.230.0130.00719.04
7.2.220.0140.00718.87
7.2.210.0130.00718.71
7.2.200.0140.00718.82
7.2.190.0140.00618.75
7.2.180.0130.00718.68
7.2.170.0130.00618.58
7.2.160.0120.00718.51
7.2.150.0170.00619.01
7.2.140.0170.00719.01
7.2.130.0170.00718.98
7.2.120.0160.00718.96
7.2.110.0170.00718.95
7.2.100.0160.00718.97
7.2.90.0160.00718.93
7.2.80.0170.00718.94
7.2.70.0190.00618.95
7.2.60.0180.00718.95
7.2.50.0170.00718.95
7.2.40.0180.00718.98
7.2.30.0170.00718.96
7.2.20.0170.00718.96
7.2.10.0170.00718.95
7.2.00.0160.00719.01
7.1.330.0150.00618.96
7.1.320.0150.00618.71
7.1.310.0160.00618.53
7.1.300.0160.00618.50
7.1.290.0180.00618.51
7.1.280.0150.00618.32
7.1.270.0180.00618.30
7.1.260.0170.00618.22
7.1.250.0170.00618.06
7.1.240.0140.00719.21
7.1.230.0150.00619.23
7.1.220.0140.00619.23
7.1.210.0160.00619.23
7.1.200.0150.00619.23
7.1.190.0160.00719.23
7.1.180.0160.00619.21
7.1.170.0150.00719.20
7.1.160.0150.00719.23
7.1.150.0160.00619.20
7.1.140.0160.00619.20
7.1.130.0160.00619.22
7.1.120.0160.00619.21
7.1.110.0150.00619.24
7.1.100.0150.00619.24
7.1.90.0160.00619.22
7.1.80.0150.00619.26
7.1.70.0150.00719.18
7.1.60.0140.00719.25
7.1.50.0160.00619.29
7.1.40.0160.00619.26
7.1.30.0150.00619.27
7.1.20.0150.00619.24
7.1.10.0160.00619.24
7.1.00.0160.00619.21
7.0.330.0190.00717.85
7.0.320.0150.00619.00
7.0.310.0150.00619.00
7.0.300.0140.00619.00
7.0.290.0140.00618.97
7.0.280.0160.00618.98
7.0.270.0150.00618.99
7.0.260.0150.00618.99
7.0.250.0160.00519.04
7.0.240.0160.00619.06
7.0.230.0150.00619.05
7.0.220.0150.00619.00
7.0.210.0150.00619.02
7.0.200.0150.00619.02
7.0.190.0150.00619.03
7.0.180.0150.00619.01
7.0.170.0140.00619.08
7.0.160.0140.00619.02
7.0.150.0140.00619.00
7.0.140.0150.00619.02
7.0.130.0140.00719.03
7.0.120.0140.00619.05
7.0.110.0150.00619.05
7.0.100.0140.00618.99
7.0.90.0140.00618.98
7.0.80.0150.00618.99
7.0.70.0140.00618.98
7.0.60.0140.00619.01
7.0.50.0150.00618.99
7.0.40.0170.00519.05
7.0.30.0140.00619.05
7.0.20.0160.00719.00
7.0.10.0160.00619.03
7.0.00.0130.00718.99
5.6.400.0130.00817.99
5.6.390.0130.00917.98
5.6.380.0130.00817.86
5.6.370.0140.00718.97
5.6.360.0150.00718.94
5.6.350.0140.00818.97
5.6.340.0140.00718.95
5.6.330.0130.00818.96
5.6.320.0140.00718.95
5.6.310.0150.00718.97
5.6.300.0140.00718.91
5.6.290.0140.00718.96
5.6.280.0140.00818.99
5.6.270.0140.00818.95
5.6.260.0140.00718.96
5.6.250.0140.00718.98
5.6.240.0140.00818.99
5.6.230.0140.00719.01
5.6.220.0140.00819.03
5.6.210.0140.00819.02
5.6.200.0140.00819.04
5.6.190.0140.00819.03
5.6.180.0140.00719.01
5.6.170.0130.00819.02
5.6.160.0130.00719.05
5.6.150.0130.00819.03
5.6.140.0140.00719.00
5.6.130.0140.00719.03
5.6.120.0140.00819.01
5.6.110.0140.00818.97
5.6.100.0150.00718.98
5.6.90.0140.00718.98
5.6.80.0130.00718.93
5.6.70.0130.00718.98
5.6.60.0130.00718.98
5.6.50.0130.00818.90
5.6.40.0130.00818.96
5.6.30.0130.00818.95
5.6.20.0120.00818.92
5.6.10.0140.00818.93
5.6.00.0140.00718.91

preferences:
29.25 ms | 403 KiB | 5 Q