3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar() { return array('a' => '1234567890'); } } var_dump(array_pop(Foo::bar()));

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.2.20.0020.00517.57
8.2.10.0000.00717.91
8.2.00.0090.00017.60
8.1.150.0040.00418.68
8.1.140.0040.00417.32
8.1.130.0040.00417.63
8.1.120.0000.00717.25
8.1.110.0000.00817.34
8.1.100.0040.00417.38
8.1.90.0070.00017.21
8.1.80.0040.00417.31
8.1.70.0030.00317.27
8.1.60.0040.00417.41
8.1.50.0080.00017.45
8.1.40.0030.00617.31
8.1.30.0040.00417.62
8.1.20.0000.00717.41
8.1.10.0000.00717.41
8.1.00.0030.00617.32
8.0.270.0040.00417.09
8.0.260.0000.00617.09
8.0.250.0070.00016.95
8.0.240.0000.00716.92
8.0.230.0000.00716.84
8.0.220.0030.00316.89
8.0.210.0000.00816.93
8.0.200.0040.00417.01
8.0.190.0060.00316.97
8.0.180.0040.00416.93
8.0.170.0040.00416.90
8.0.160.0040.00316.85
8.0.150.0000.00816.67
8.0.140.0040.00416.77
8.0.130.0000.00513.26
8.0.120.0000.00816.70
8.0.110.0020.00516.87
8.0.100.0040.00416.62
8.0.90.0000.00716.84
8.0.80.0110.00416.82
8.0.70.0040.00416.79
8.0.60.0040.00416.69
8.0.50.0050.00316.89
8.0.30.0120.00916.98
8.0.20.0070.01117.40
8.0.10.0030.00316.76
8.0.00.0110.00716.75
7.4.330.0000.00615.02
7.4.320.0060.00016.26
7.4.300.0030.00316.28
7.4.290.0030.00316.35
7.4.280.0000.00716.46
7.4.270.0000.00716.51
7.4.260.0000.00716.54
7.4.250.0030.00516.48
7.4.240.0040.00416.48
7.4.230.0040.00416.33
7.4.220.0000.00716.43
7.4.210.0110.00416.39
7.4.200.0030.00316.40
7.4.160.0130.00316.52
7.4.150.0150.00317.40
7.4.140.0110.00617.86
7.4.130.0100.01016.50
7.4.120.0080.01116.41
7.4.110.0070.01116.44
7.4.100.0140.00316.58
7.4.90.0120.00916.29
7.4.80.0030.01416.36
7.4.70.0060.01616.38
7.4.60.0160.00616.38
7.4.50.0050.00316.38
7.4.40.0080.00816.38
7.4.30.0070.01016.21
7.4.00.0030.01314.95
7.3.330.0050.00013.16
7.3.320.0000.00513.17
7.3.310.0070.00016.13
7.3.300.0070.00016.26
7.3.290.0100.00416.28
7.3.280.0080.00816.34
7.3.270.0090.00917.40
7.3.260.0040.01416.14
7.3.250.0100.00916.33
7.3.240.0100.01316.39
7.3.230.0060.01016.39
7.3.210.0130.00416.32
7.3.200.0070.01019.39
7.3.190.0110.01116.33
7.3.180.0060.01016.24
7.3.170.0080.00816.27
7.3.160.0100.00616.27
7.3.10.0000.01816.44
7.3.00.0060.00616.74
7.2.330.0100.00916.60
7.2.320.0130.01016.56
7.2.310.0070.01016.27
7.2.300.0030.01316.35
7.2.290.0070.01016.27
7.2.130.0030.01016.59
7.2.120.0030.01016.55
7.2.110.0090.00316.60
7.2.100.0000.01016.46
7.2.90.0060.01016.74
7.2.80.0090.00016.73
7.2.70.0000.01216.73
7.2.60.0000.01316.78
7.2.50.0060.00616.88
7.2.40.0040.00916.89
7.2.30.0070.00416.93
7.2.20.0100.00716.74
7.2.10.0110.00316.88
7.2.00.0040.01116.89
7.1.250.0030.00615.29
7.1.200.0040.00815.54
7.1.100.0030.00917.81
7.1.70.0140.00617.03
7.1.60.0090.00619.34
7.1.50.0070.00416.89
7.1.00.0000.07722.36
7.0.200.0110.00614.81
7.0.140.0070.06721.92
7.0.60.0170.06719.90
7.0.50.0070.06717.83
7.0.40.0170.07717.80
7.0.30.0070.07717.76
7.0.20.0070.08017.75
7.0.10.0070.08017.76
7.0.00.0070.08017.74
5.6.210.0130.06720.47
5.6.200.0030.08318.16
5.6.190.0100.07318.18
5.6.180.0070.08018.16
5.6.170.0100.07718.15
5.6.160.0030.07718.21
5.6.150.0130.07318.25
5.6.140.0170.07018.21
5.6.130.0070.07318.11
5.6.120.0170.06718.17
5.6.110.0070.07318.12
5.6.100.0100.06718.23
5.6.90.0100.04718.16
5.6.80.0070.08017.66
5.6.70.0130.07017.54
5.6.60.0300.05017.53
5.6.50.0100.07717.55
5.6.40.0100.07717.50
5.6.30.0200.06317.48
5.6.20.0170.06017.50
5.6.10.0070.04717.51
5.6.00.0030.04017.52
5.5.350.0230.04320.42
5.5.340.0100.05718.08
5.5.330.0030.09018.05
5.5.320.0030.08317.94
5.5.310.0100.08317.92
5.5.300.0070.07317.99
5.5.290.0070.08018.04
5.5.280.0100.08018.03
5.5.270.0070.04717.98
5.5.260.0070.08717.94
5.5.250.0030.07717.76
5.5.240.0030.08017.41
5.5.230.0030.09017.45
5.5.220.0100.06317.36
5.5.210.0200.06317.39
5.5.200.0030.06017.33
5.5.190.0130.06017.36
5.5.180.0100.07317.34
5.5.160.0070.07317.27
5.5.150.0100.07717.34
5.5.140.0070.06717.41
5.5.130.0100.07317.29
5.5.120.0070.08317.31
5.5.110.0100.03717.30
5.5.100.0030.08317.29
5.5.90.0130.07317.28
5.5.80.0100.05317.29
5.5.70.0030.07717.22
5.5.60.0100.06017.20
5.5.50.0130.06717.18
5.5.40.0070.08017.22
5.5.30.0070.07717.22
5.5.20.0030.07717.21
5.5.10.0030.04717.31
5.5.00.0070.03317.19
5.4.450.0000.06319.29
5.4.440.0070.05319.28
5.4.430.0000.05019.34
5.4.420.0130.06319.29
5.4.410.0100.07319.21
5.4.400.0070.06319.12
5.4.390.0100.04719.09
5.4.380.0100.07319.05
5.4.370.0130.04719.13
5.4.360.0130.07019.09
5.4.350.0000.08319.05
5.4.340.0130.07019.14
5.4.320.0070.07719.11
5.4.310.0070.06719.12
5.4.300.0100.05019.09
5.4.290.0000.05319.02
5.4.280.0070.07719.06
5.4.270.0130.04319.27
5.4.260.0130.07019.01
5.4.250.0130.05019.04
5.4.240.0170.06718.94
5.4.230.0130.03319.01
5.4.220.0200.06319.05
5.4.210.0070.06019.05
5.4.200.0170.06719.01
5.4.190.0130.06719.04
5.4.180.0030.05318.94
5.4.170.0030.04719.04
5.4.160.0030.03719.05
5.4.150.0070.03718.93
5.4.140.0030.03716.33
5.4.130.0030.03316.59
5.4.120.0000.03716.23
5.4.110.0030.03716.38
5.4.100.0000.03716.41
5.4.90.0070.03316.40
5.4.80.0000.04016.41
5.4.70.0000.03716.39
5.4.60.0030.03316.46
5.4.50.0100.03016.41
5.4.40.0000.04016.48
5.4.30.0000.03716.21
5.4.20.0000.03716.44
5.4.10.0070.03016.53
5.4.00.0030.03315.68
5.3.290.0100.05314.66
5.3.280.0100.04014.81
5.3.270.0000.07014.46
5.3.260.0070.03714.45
5.3.250.0000.04714.56
5.3.240.0030.03714.62
5.3.230.0000.04014.63
5.3.220.0030.03314.66
5.3.210.0030.03714.61
5.3.200.0070.03314.55
5.3.190.0030.03714.57
5.3.180.0070.03014.59
5.3.170.0000.03714.66
5.3.160.0030.03714.59
5.3.150.0030.03714.51
5.3.140.0070.03314.51
5.3.130.0030.04314.54
5.3.120.0000.04314.39
5.3.110.0070.03314.58
5.3.100.0000.04014.05
5.3.90.0030.03314.05
5.3.80.0070.03313.92
5.3.70.0000.03713.90
5.3.60.0000.03713.89
5.3.50.0030.03314.15
5.3.40.0030.03714.04
5.3.30.0000.03714.01
5.3.20.0000.03713.68
5.3.10.0030.03313.69
5.3.00.0030.03313.65
5.2.170.0030.02711.24
5.2.160.0030.02711.17
5.2.150.0000.03011.06
5.2.140.0030.02711.17
5.2.130.0070.02311.20
5.2.120.0070.02311.17
5.2.110.0030.03011.15
5.2.100.0030.02711.14
5.2.90.0030.02711.00
5.2.80.0000.03011.10
5.2.70.0030.02711.08
5.2.60.0000.04011.05
5.2.50.0030.06311.05
5.2.40.0030.05710.88
5.2.30.0030.06711.18
5.2.20.0030.05710.91
5.2.10.0000.06010.86
5.2.00.0070.05010.77
5.1.60.0000.05310.20
5.1.50.0000.03310.08
5.1.40.0000.05010.00
5.1.30.0000.05710.27
5.1.20.0070.04010.42
5.1.10.0000.03310.13
5.1.00.0030.06010.05
5.0.50.0070.0238.75
5.0.40.0070.0408.47
5.0.30.0000.0708.22
5.0.20.0170.0238.26
5.0.10.0000.0508.00
5.0.00.0030.0508.14
4.4.90.0030.0137.83
4.4.80.0030.0237.83
4.4.70.0000.0377.83
4.4.60.0000.0377.83
4.4.50.0000.0337.83
4.4.40.0000.0577.83
4.4.30.0070.0277.83
4.4.20.0000.0307.83
4.4.10.0030.0377.83
4.4.00.0000.0337.83
4.3.110.0000.0377.83
4.3.100.0030.0307.83
4.3.90.0000.0237.83
4.3.80.0000.0577.83
4.3.70.0070.0307.83
4.3.60.0000.0277.83
4.3.50.0000.0277.83
4.3.40.0030.0537.83
4.3.30.0000.0307.83
4.3.20.0030.0277.83
4.3.10.0000.0207.83
4.3.00.0000.0377.83

preferences:
84.72 ms | 403 KiB | 5 Q