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.0090.00518.46
8.3.120.0170.00718.49
8.3.110.0190.00418.00
8.3.100.0180.00817.51
8.3.90.0260.00820.47
8.3.80.0240.00519.95
8.3.70.0220.01019.89
8.3.60.0270.00721.22
8.3.50.0210.00619.87
8.3.40.0210.00720.31
8.3.30.0160.00921.05
8.3.20.0180.00721.94
8.3.10.0170.00621.89
8.3.00.0160.00721.32
8.2.250.0160.00517.61
8.2.240.0190.00317.81
8.2.230.0250.00318.42
8.2.220.0150.00821.63
8.2.210.0200.00820.56
8.2.200.0190.00820.23
8.2.190.0200.00719.82
8.2.180.0200.00520.75
8.2.170.0200.00820.64
8.2.160.0180.00621.36
8.2.150.0150.00922.74
8.2.140.0180.00621.77
8.2.130.0190.00521.81
8.2.120.0180.00721.33
8.2.110.0160.00821.04
8.2.100.0170.00720.92
8.2.90.0190.00620.69
8.2.80.0200.00620.73
8.2.70.0180.00634.58
8.2.60.0170.00629.91
8.2.50.0160.00729.90
8.2.40.0140.00627.39
8.2.30.0150.00627.83
8.2.20.0140.00627.75
8.2.10.0130.00626.48
8.2.00.0150.00527.00
8.1.300.0170.00917.89
8.1.290.0220.00721.80
8.1.280.0190.00920.52
8.1.270.0180.00521.54
8.1.260.0150.00722.15
8.1.250.0170.00822.20
8.1.240.0160.00721.06
8.1.230.0150.00820.77
8.1.220.0170.00520.47
8.1.210.0160.00720.57
8.1.200.0140.00729.74
8.1.190.0160.00729.73
8.1.180.0170.00629.75
8.1.170.0150.00627.44
8.1.160.0150.00728.13
8.1.150.0140.00727.76
8.1.140.0150.00526.93
8.1.130.0110.00625.85
8.1.120.0130.00626.57
8.1.110.0130.00726.46
8.1.100.0130.00725.91
8.1.90.0110.00624.31
8.1.80.0130.00625.32
8.1.70.0120.00623.43
8.1.60.0140.00523.51
8.1.50.0140.00523.32
8.1.40.0140.00522.91
8.1.30.0130.00622.97
8.1.20.0140.00623.04
8.1.10.0140.00522.49
8.1.00.0140.00622.75
8.0.300.0150.00820.45
8.0.290.0180.00629.47
8.0.280.0170.00627.86
8.0.270.0150.00526.94
8.0.260.0150.00526.61
8.0.250.0160.00626.25
8.0.240.0180.00526.24
8.0.230.0170.00625.89
8.0.220.0160.00524.97
8.0.210.0170.00624.97
8.0.200.0140.00723.10
8.0.190.0160.00523.10
8.0.180.0140.00522.96
8.0.170.0150.00522.51
8.0.160.0140.00522.51
8.0.150.0150.00622.47
8.0.140.0150.00622.47
8.0.130.0150.00622.27
8.0.120.0160.00522.35
8.0.110.0140.00522.23
8.0.100.0130.00521.79
8.0.90.0140.00521.68
8.0.80.0140.00621.58
8.0.70.0130.00521.67
8.0.60.0140.00621.67
8.0.50.0140.00521.67
8.0.30.0120.00521.27
8.0.20.0120.00621.22
8.0.10.0130.00521.22
8.0.00.0110.00621.08
7.4.330.0150.00425.90
7.4.320.0180.00526.07
7.4.300.0160.00522.85
7.4.290.0160.00422.69
7.4.280.0160.00522.26
7.4.270.0170.00422.14
7.4.260.0160.00522.16
7.4.250.0160.00622.14
7.4.240.0160.00522.03
7.4.230.0140.00621.47
7.4.220.0140.00521.48
7.4.210.0140.00521.46
7.4.200.0140.00521.50
7.4.190.0150.00521.52
7.4.180.0140.00521.53
7.4.160.0130.00421.13
7.4.150.0110.00621.00
7.4.140.0120.00620.64
7.4.130.0120.00620.70
7.4.120.0120.00620.70
7.4.110.0120.00620.53
7.4.100.0130.00520.45
7.4.90.0120.00620.42
7.4.80.0120.00720.27
7.4.70.0120.00620.26
7.4.60.0130.00520.04
7.4.50.0120.00620.00
7.4.40.0120.00619.95
7.4.30.0110.00619.99
7.4.20.0120.00619.73
7.4.10.0110.00619.46
7.4.00.0110.00619.31
7.3.330.0130.00621.86
7.3.320.0150.00421.91
7.3.310.0150.00521.98
7.3.300.0120.00521.04
7.3.290.0140.00521.29
7.3.280.0140.00520.85
7.3.270.0140.00520.84
7.3.260.0140.00620.59
7.3.250.0140.00520.67
7.3.240.0130.00620.38
7.3.230.0130.00520.47
7.3.220.0140.00520.35
7.3.210.0140.00520.28
7.3.200.0130.00620.11
7.3.190.0130.00720.11
7.3.180.0130.00619.94
7.3.170.0130.00719.96
7.3.160.0150.00519.88
7.3.150.0130.00719.87
7.3.140.0130.00619.74
7.3.130.0120.00619.35
7.3.120.0130.00619.24
7.3.110.0130.00619.07
7.3.100.0110.00718.93
7.3.90.0130.00618.93
7.3.80.0120.00618.70
7.3.70.0120.00618.72
7.3.60.0110.00718.68
7.3.50.0120.00618.63
7.3.40.0120.00718.48
7.3.30.0130.00718.43
7.3.20.0160.00618.94
7.3.10.0170.00618.89
7.3.00.0190.00718.81
7.2.340.0140.00620.60
7.2.330.0140.00720.32
7.2.320.0140.00720.15
7.2.310.0140.00720.03
7.2.300.0140.00720.02
7.2.290.0140.00619.91
7.2.280.0130.00719.92
7.2.270.0140.00619.74
7.2.260.0130.00719.39
7.2.250.0130.00719.28
7.2.240.0130.00719.13
7.2.230.0130.00719.08
7.2.220.0130.00718.90
7.2.210.0130.00718.74
7.2.200.0140.00718.85
7.2.190.0140.00618.78
7.2.180.0130.00718.71
7.2.170.0130.00718.60
7.2.160.0110.00718.54
7.2.150.0170.00619.03
7.2.140.0170.00719.04
7.2.130.0170.00719.00
7.2.120.0160.00718.99
7.2.110.0170.00718.98
7.2.100.0160.00719.00
7.2.90.0160.00818.96
7.2.80.0170.00718.97
7.2.70.0190.00618.98
7.2.60.0180.00718.97
7.2.50.0170.00718.98
7.2.40.0170.00719.01
7.2.30.0170.00718.99
7.2.20.0170.00718.98
7.2.10.0170.00718.97
7.2.00.0150.00719.03
7.1.330.0150.00618.99
7.1.320.0150.00618.74
7.1.310.0160.00618.56
7.1.300.0160.00618.53
7.1.290.0170.00618.53
7.1.280.0140.00618.35
7.1.270.0180.00618.32
7.1.260.0170.00618.24
7.1.250.0160.00618.08
7.1.240.0140.00719.25
7.1.230.0150.00619.27
7.1.220.0140.00619.27
7.1.210.0150.00619.27
7.1.200.0150.00619.27
7.1.190.0160.00819.27
7.1.180.0160.00619.25
7.1.170.0150.00719.24
7.1.160.0150.00719.27
7.1.150.0160.00619.24
7.1.140.0160.00619.24
7.1.130.0150.00619.26
7.1.120.0150.00619.25
7.1.110.0150.00619.28
7.1.100.0150.00619.28
7.1.90.0160.00619.26
7.1.80.0150.00619.30
7.1.70.0150.00719.22
7.1.60.0140.00719.29
7.1.50.0150.00619.33
7.1.40.0150.00619.30
7.1.30.0150.00619.31
7.1.20.0150.00619.28
7.1.10.0160.00619.28
7.1.00.0160.00619.25
7.0.330.0190.00717.87
7.0.320.0140.00619.04
7.0.310.0150.00619.03
7.0.300.0140.00619.04
7.0.290.0140.00619.01
7.0.280.0160.00619.02
7.0.270.0150.00619.02
7.0.260.0140.00619.03
7.0.250.0160.00519.08
7.0.240.0150.00619.10
7.0.230.0150.00619.08
7.0.220.0150.00619.04
7.0.210.0150.00619.05
7.0.200.0150.00619.06
7.0.190.0150.00619.07
7.0.180.0150.00619.04
7.0.170.0140.00619.12
7.0.160.0140.00619.05
7.0.150.0140.00619.03
7.0.140.0150.00619.06
7.0.130.0140.00719.06
7.0.120.0140.00619.09
7.0.110.0150.00619.08
7.0.100.0140.00619.03
7.0.90.0140.00619.02
7.0.80.0150.00619.02
7.0.70.0140.00619.02
7.0.60.0140.00619.05
7.0.50.0140.00619.03
7.0.40.0170.00519.08
7.0.30.0130.00619.08
7.0.20.0150.00719.04
7.0.10.0160.00619.07
7.0.00.0130.00719.02
5.6.400.0130.00818.01
5.6.390.0130.00918.00
5.6.380.0130.00817.88
5.6.370.0140.00719.01
5.6.360.0140.00718.97
5.6.350.0140.00819.01
5.6.340.0140.00718.98
5.6.330.0130.00819.00
5.6.320.0140.00718.98
5.6.310.0140.00719.00
5.6.300.0140.00718.95
5.6.290.0140.00719.00
5.6.280.0140.00819.03
5.6.270.0140.00818.99
5.6.260.0140.00719.00
5.6.250.0140.00719.01
5.6.240.0140.00819.03
5.6.230.0140.00719.04
5.6.220.0140.00819.07
5.6.210.0140.00819.06
5.6.200.0140.00819.08
5.6.190.0140.00819.07
5.6.180.0140.00719.04
5.6.170.0130.00819.06
5.6.160.0130.00719.08
5.6.150.0130.00819.06
5.6.140.0140.00719.04
5.6.130.0140.00719.06
5.6.120.0140.00819.04
5.6.110.0130.00819.00
5.6.100.0140.00719.02
5.6.90.0140.00719.02
5.6.80.0130.00718.96
5.6.70.0130.00819.02
5.6.60.0130.00719.02
5.6.50.0130.00818.93
5.6.40.0130.00819.00
5.6.30.0130.00818.98
5.6.20.0120.00818.96
5.6.10.0130.00818.96
5.6.00.0140.00718.94

preferences:
53.53 ms | 403 KiB | 5 Q