3v4l.org

run code in 300+ PHP versions simultaneously
<?php function evil(...$args) { var_dump($args); } function evilGen($maxArgs) { $i = 0; while ($i<$maxArgs) { yield $i++; } } $args = evilGen(1000); evil(...$args);

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.60.0080.01216.63
8.3.50.0170.00922.93
8.3.40.0100.01018.73
8.3.30.0150.01218.93
8.3.20.0150.01125.66
8.3.10.0070.01425.66
8.2.180.0100.01016.32
8.2.170.0120.00922.96
8.2.160.0070.01120.35
8.2.150.0130.01325.66
8.2.140.0160.01325.66
8.1.280.0150.00425.92
8.1.270.0170.00725.66
7.4.10.0140.01115.11
7.4.00.0120.01014.78
7.3.130.0150.00614.56
7.3.120.0100.01314.80
7.3.110.0220.00315.00
7.3.100.0090.00914.93
7.3.90.0060.00914.50
7.3.80.0060.01014.62
7.3.70.0150.00415.03
7.3.60.0150.00614.91
7.3.50.0100.01014.79
7.3.40.0100.00714.89
7.3.30.0120.00614.77
7.3.20.0100.01416.82
7.3.10.0090.00916.70
7.3.00.0040.01416.81
7.2.260.0040.02115.07
7.2.250.0070.01715.20
7.2.240.0120.00614.98
7.2.230.0090.01215.07
7.2.220.0100.01314.93
7.2.210.0150.00715.27
7.2.200.0030.01415.23
7.2.190.0120.00915.09
7.2.180.0090.00915.15
7.2.170.0100.00714.84
7.2.160.0110.00815.24
7.2.150.0230.00016.98
7.2.140.0100.01016.72
7.2.130.0130.00716.92
7.2.120.0120.00916.70
7.2.110.0160.00616.77
7.2.100.0070.01316.75
7.2.90.0100.01417.13
7.2.80.0070.01416.68
7.2.70.0070.00717.14
7.2.60.0100.00716.67
7.2.50.0110.00716.88
7.2.40.0060.01316.86
7.2.30.0100.01416.76
7.2.20.0030.01217.08
7.2.10.0070.01316.57
7.2.00.0080.01017.93
7.1.330.0080.01215.41
7.1.320.0060.01615.50
7.1.310.0100.01015.73
7.1.300.0070.01415.57
7.1.290.0090.00915.58
7.1.280.0070.01015.83
7.1.270.0060.01515.80
7.1.260.0070.01015.85
7.1.250.0070.01315.92
7.1.240.0120.00915.47
7.1.230.0140.00015.86
7.1.220.0080.00815.53
7.1.210.0070.01415.68
7.1.200.0030.01715.94
7.1.190.0070.01015.57
7.1.180.0060.01315.94
7.1.170.0110.00715.87
7.1.160.0100.01015.60
7.1.150.0180.00615.92
7.1.140.0130.01015.87
7.1.130.0120.00615.90
7.1.120.0130.00715.77
7.1.110.0110.01115.88
7.1.100.0060.01217.07
7.1.90.0030.01315.55
7.1.80.0110.00415.77
7.1.70.0080.00816.57
7.1.60.0140.00817.50
7.1.50.0100.01216.35
7.1.40.0140.01015.93
7.1.30.0150.00415.85
7.1.20.0030.01715.75
7.1.10.0100.01315.93
7.1.00.0090.04019.16
7.0.330.0070.01115.38
7.0.320.0120.00415.21
7.0.310.0120.00915.36
7.0.300.0090.00315.38
7.0.290.0110.01115.39
7.0.280.0070.00715.42
7.0.270.0070.01015.22
7.0.260.0060.00615.57
7.0.250.0110.00615.33
7.0.240.0100.00715.56
7.0.230.0030.01215.55
7.0.220.0130.01015.60
7.0.210.0120.00015.52
7.0.200.0130.00514.96
7.0.190.0140.01015.30
7.0.180.0130.00615.30
7.0.170.0110.00715.43
7.0.160.0110.00415.52
7.0.150.0100.01015.27
7.0.140.0080.04318.76
7.0.130.0040.01515.36
7.0.120.0070.01115.29
7.0.110.0170.00315.34
7.0.100.0070.01315.57
7.0.90.0120.00915.14
7.0.80.0110.00815.29
7.0.70.0100.01315.61
7.0.60.0120.03817.76
7.0.50.0100.04516.70
7.0.40.0070.02516.78
7.0.30.0280.03216.70
7.0.20.0200.04316.70
7.0.10.0170.04916.74
7.0.00.0070.02716.87
5.6.400.0170.00014.47
5.6.390.0030.01714.35
5.6.380.0140.00414.30
5.6.370.0070.00714.50
5.6.360.0100.01414.38
5.6.350.0100.01314.47
5.6.340.0110.00714.21
5.6.330.0000.01314.17
5.6.320.0110.01114.57
5.6.310.0100.00714.36
5.6.300.0130.01014.45
5.6.290.0060.01214.24
5.6.280.0020.04817.69
5.6.270.0000.01514.05
5.6.260.0030.01314.35
5.6.250.0060.00914.63
5.6.240.0110.00314.40
5.6.230.0070.01114.11
5.6.220.0070.01014.41
5.6.210.0110.02317.63
5.6.200.0110.04716.25
5.6.190.0080.05017.38
5.6.180.0120.02917.23
5.6.170.0220.04717.62
5.6.160.0060.03317.44
5.6.150.0110.04516.10
5.6.140.0100.02616.20
5.6.130.0100.04516.13
5.6.120.0160.04317.48
5.6.110.0070.05017.57
5.6.100.0120.03817.65
5.6.90.0170.04317.61
5.6.80.0050.05017.36
5.6.70.0150.04417.34
5.6.60.0130.01014.50
5.6.50.0030.01314.56
5.6.40.0100.00714.13
5.6.30.0130.00614.22
5.6.20.0000.01714.42
5.6.10.0040.01414.48
5.6.00.0060.01314.05
5.5.380.0050.00513.94
5.5.370.0100.00014.35
5.5.360.0070.00714.32
5.5.350.0170.04217.22
5.5.340.0130.03815.97
5.5.330.0050.04316.94
5.5.320.0040.05117.04
5.5.310.0110.03117.10
5.5.300.0060.02516.10
5.5.290.0040.03215.94
5.5.280.0070.03217.36
5.5.270.0050.03817.63
5.5.260.0060.03817.35
5.5.250.0060.04717.29
5.5.240.0080.02017.17
5.5.230.0090.00613.75
5.5.220.0030.01013.89
5.5.210.0000.01013.94
5.5.200.0030.00713.95
5.5.190.0060.00614.08
5.5.180.0030.00613.80
5.5.170.0040.00413.78
5.5.160.0060.00613.57
5.5.150.0030.00614.07
5.5.140.0000.00913.61
5.5.130.0040.00813.82
5.5.120.0080.00313.62
5.5.110.0000.01413.77
5.5.100.0120.00313.73
5.5.90.0030.00613.97
5.5.80.0030.00913.90
5.5.70.0040.01113.89
5.5.60.0090.00613.65
5.5.50.0090.00613.70
5.5.40.0060.00613.78
5.5.30.0060.00913.82
5.5.20.0070.00713.66
5.5.10.0030.01013.46
5.5.00.0070.00713.70
5.4.450.0120.02815.20
5.4.440.0120.04215.16
5.4.430.0100.03015.00
5.4.420.0100.03014.89
5.4.410.0030.03514.92
5.4.400.0650.03814.80
5.4.390.0650.02714.73
5.4.380.0180.03214.73
5.4.370.0170.03414.73
5.4.360.0250.03214.87
5.4.350.0080.03911.27
5.4.340.0050.02211.45
5.4.330.0060.00010.63
5.4.320.0040.02711.63
5.4.310.0040.02211.78
5.4.300.0040.02011.51
5.4.290.0060.02011.58
5.4.280.0040.02111.55
5.4.270.0060.02011.66
5.4.260.0030.02511.59
5.4.250.0030.02311.65
5.4.240.0040.02111.68
5.4.230.0080.02011.53
5.4.220.0070.01711.56
5.4.210.0050.02211.53
5.4.200.0080.02011.59
5.4.190.0050.01911.69
5.4.180.0050.01911.53
5.4.170.0040.02511.55
5.4.160.0060.02211.56
5.4.150.0030.02111.55
5.4.140.0060.02211.37
5.4.130.0020.02611.42
5.4.120.0050.02011.41
5.4.110.0080.01811.29
5.4.100.0050.02111.41
5.4.90.0040.02011.45
5.4.80.0020.02311.46
5.4.70.0060.02311.54
5.4.60.0060.02111.49
5.4.50.0040.02311.48
5.4.40.0020.02111.51
5.4.30.0040.02211.38
5.4.20.0060.01811.47
5.4.10.0050.02511.45
5.4.00.0080.02011.21
5.3.290.0060.03812.80
5.3.280.0060.03912.71
5.3.270.0070.03812.73
5.3.260.0020.04212.72
5.3.250.0110.03612.72
5.3.240.0080.04912.71
5.3.230.0020.04312.71
5.3.220.0050.03812.68
5.3.210.0110.03312.68
5.3.200.0090.03812.68
5.3.190.0090.03512.68
5.3.180.0060.03612.67
5.3.170.0060.03512.67
5.3.160.0040.03812.68
5.3.150.0040.03912.67
5.3.140.0060.03612.66
5.3.130.0050.03912.66
5.3.120.0100.03712.66
5.3.110.0070.03712.65
5.3.100.0050.03712.13
5.3.90.0060.03612.11
5.3.80.0040.03812.09
5.3.70.0030.03812.09
5.3.60.0090.03212.08
5.3.50.0020.03912.02
5.3.40.0050.04012.02
5.3.30.0050.03411.98
5.3.20.0060.03411.77
5.3.10.0080.04111.73
5.3.00.0070.03511.71
5.2.170.0040.0319.22
5.2.160.0050.0289.21
5.2.150.0080.0279.22
5.2.140.0080.0269.22
5.2.130.0020.0319.18
5.2.120.0040.0289.17
5.2.110.0070.0269.18
5.2.100.0020.0309.18
5.2.90.0060.0269.18
5.2.80.0040.0309.18
5.2.70.0040.0339.17
5.2.60.0030.0319.12
5.2.50.0030.0309.09
5.2.40.0060.0279.07
5.2.30.0040.0319.05
5.2.20.0030.0309.04
5.2.10.0090.0288.95
5.2.00.0050.0328.81
5.1.60.0040.0248.08
5.1.50.0050.0268.08
5.1.40.0030.0258.07
5.1.30.0060.0248.42
5.1.20.0050.0258.44
5.1.10.0010.0298.16
5.1.00.0050.0248.16
5.0.50.0040.0206.64
5.0.40.0000.0226.50
5.0.30.0040.0306.31
5.0.20.0080.0206.28
5.0.10.0050.0216.25
5.0.00.0020.0316.25
4.4.90.0030.0154.77
4.4.80.0030.0154.75
4.4.70.0050.0164.75
4.4.60.0030.0154.75
4.4.50.0020.0214.77
4.4.40.0030.0254.71
4.4.30.0020.0164.76
4.4.20.0030.0154.85
4.4.10.0010.0184.85
4.4.00.0010.0264.76
4.3.110.0020.0164.67
4.3.100.0040.0134.66
4.3.90.0050.0134.64
4.3.80.0040.0234.59
4.3.70.0010.0164.63
4.3.60.0040.0134.63
4.3.50.0010.0224.62
4.3.40.0030.0284.54
4.3.30.0010.0203.30
4.3.20.0030.0203.28
4.3.10.0030.0143.23
4.3.00.0070.0176.92

preferences:
41.81 ms | 401 KiB | 5 Q