3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = ['foo']; $two = ['bar']; if($foo=array_pop($one) | $bar=array_pop($two)) { var_dump($foo, $bar);//"foo" & null }

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.0150.00318.30
8.3.50.0120.01021.15
8.3.40.0110.00718.84
8.3.30.0140.00018.59
8.3.20.0080.00020.53
8.3.10.0030.00520.96
8.3.00.0040.00419.64
8.2.180.0110.00418.16
8.2.170.0110.01122.96
8.2.160.0130.00020.52
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00021.01
8.2.110.0090.00019.38
8.2.100.0040.00817.72
8.2.90.0000.00819.26
8.2.80.0030.00517.97
8.2.70.0060.00617.38
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0050.00218.22
8.2.30.0070.00021.22
8.2.20.0040.00417.55
8.2.10.0070.00017.64
8.2.00.0060.00317.76
8.1.280.0150.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0000.00921.36
8.1.230.0060.00617.45
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0080.00017.36
8.1.190.0100.00016.97
8.1.180.0060.00318.10
8.1.170.0050.00318.55
8.1.160.0080.00018.77
8.1.150.0000.00718.53
8.1.140.0000.00717.44
8.1.130.0000.00717.86
8.1.120.0000.00717.28
8.1.110.0000.01017.42
8.1.100.0030.00517.28
8.1.90.0050.00317.37
8.1.80.0050.00217.29
8.1.70.0030.00517.35
8.1.60.0000.00917.50
8.1.50.0050.00217.38
8.1.40.0080.00017.35
8.1.30.0030.00517.40
8.1.20.0080.00017.47
8.1.10.0060.00317.54
8.1.00.0040.00417.40
8.0.300.0100.00018.77
8.0.290.0020.00516.63
8.0.280.0030.00518.36
8.0.270.0000.00717.18
8.0.260.0030.00316.80
8.0.250.0040.00416.94
8.0.240.0090.00016.85
8.0.230.0000.00716.86
8.0.220.0000.00716.92
8.0.210.0040.00416.74
8.0.200.0030.00316.91
8.0.190.0000.00816.96
8.0.180.0050.00216.96
8.0.170.0000.00816.96
8.0.160.0050.00316.77
8.0.150.0040.00416.76
8.0.140.0000.00716.68
8.0.130.0000.00513.18
8.0.120.0030.00516.67
8.0.110.0000.00816.86
8.0.100.0050.00316.65
8.0.90.0020.00516.76
8.0.80.0040.01116.86
8.0.70.0000.00816.68
8.0.60.0040.00416.70
8.0.50.0040.00416.83
8.0.30.0090.00917.06
8.0.20.0130.00917.40
8.0.10.0050.00216.84
8.0.00.0120.00916.59
7.4.330.0030.00316.74
7.4.320.0060.00016.42
7.4.300.0000.00616.45
7.4.290.0000.00716.32
7.4.280.0070.00016.33
7.4.270.0030.00616.45
7.4.260.0030.00313.19
7.4.250.0000.00816.45
7.4.240.0000.00716.42
7.4.230.0040.00416.47
7.4.220.0070.01416.38
7.4.210.0080.00716.48
7.4.200.0000.00716.59
7.4.190.0070.00016.56
7.4.160.0140.00716.49
7.4.150.0140.01117.40
7.4.140.0070.01317.86
7.4.130.0060.01116.44
7.4.120.0100.00816.41
7.4.110.0040.01216.47
7.4.100.0160.00416.49
7.4.90.0060.01116.31
7.4.80.0070.01019.39
7.4.70.0030.01516.43
7.4.60.0150.00416.52
7.4.50.0000.00816.39
7.4.40.0040.01122.77
7.4.30.0150.00616.46
7.4.00.0030.01315.04
7.3.330.0000.00513.04
7.3.320.0030.00313.03
7.3.310.0070.00016.03
7.3.300.0000.00716.00
7.3.290.0000.01416.15
7.3.280.0080.01116.20
7.3.270.0040.02117.40
7.3.260.0090.01118.24
7.3.250.0090.00916.45
7.3.240.0060.00916.34
7.3.230.0070.01016.39
7.3.210.0100.00716.31
7.3.200.0080.01419.39
7.3.190.0060.01216.40
7.3.180.0070.00716.32
7.3.170.0040.01216.27
7.3.160.0120.00416.36
7.3.120.0070.01014.63
7.2.330.0130.00616.73
7.2.320.0030.02016.54
7.2.310.0140.00716.32
7.2.300.0130.00316.36
7.2.290.0090.00816.61
7.2.00.0060.00919.40
7.1.200.0070.00715.77
7.1.100.0060.00917.92
7.1.70.0000.01116.77
7.1.60.0000.01016.89
7.1.50.0070.01416.84
7.1.00.0000.06322.27
7.0.200.0000.00716.79
7.0.140.0000.07721.92
7.0.70.4200.03719.81
7.0.60.0070.05319.84
7.0.50.0100.06317.85
7.0.40.0100.03720.18
7.0.30.0530.05720.17
7.0.20.0400.07020.30
7.0.10.0300.08320.09
7.0.00.0130.08020.11
5.6.280.0030.07321.09
5.6.210.0030.07720.55
5.6.200.0100.08018.11
5.6.190.0000.05020.32
5.6.180.0100.07320.24
5.6.170.0300.06320.62
5.6.160.0170.06320.49
5.6.150.0030.04018.22
5.6.140.0070.04018.11
5.6.130.0100.08018.09
5.6.120.0070.08321.00
5.6.110.0100.08321.00
5.6.100.0100.06721.09
5.6.90.0100.06320.97
5.6.80.0070.04320.38
5.6.70.0030.08020.35
5.5.350.0000.07720.40
5.5.340.0100.06717.93
5.5.330.0030.04020.47
5.5.320.0070.04720.07
5.5.310.0400.06720.30
5.5.300.0000.06317.91
5.5.290.0200.06018.00
5.5.280.0000.06320.65
5.5.270.0030.08720.73
5.5.260.0170.05020.79
5.5.250.0070.08020.61
5.5.240.0130.04720.26
5.4.450.0270.06719.14
5.4.440.0170.05719.11
5.4.430.0270.07019.25
5.4.420.0170.04019.25
5.4.410.0270.07019.41
5.4.400.0270.06318.93
5.4.390.0170.03718.92
5.4.380.0230.07018.88
5.4.370.0270.06318.79
5.4.360.0100.08019.09
5.4.350.0330.04718.93
5.4.340.0000.06718.91
5.4.320.0330.06719.09
5.4.310.0200.07319.09
5.4.300.0170.04719.24
5.4.290.0130.04319.08
5.4.280.0130.04318.92
5.4.270.0200.07319.13
5.4.260.0330.04718.88
5.4.250.0270.06319.13
5.4.240.0200.07319.21
5.4.230.0270.04719.07
5.4.220.0270.04718.92
5.4.210.0200.03318.82
5.4.200.0370.03018.78
5.4.190.0170.07019.05
5.4.180.0130.05719.08
5.4.170.0130.04318.87
5.4.160.0170.05319.04
5.4.150.0230.07018.91
5.4.140.0170.06316.18
5.4.130.0170.04316.34
5.4.120.0300.03716.22
5.4.110.0230.05716.34
5.4.100.0330.03316.39
5.4.90.0230.07016.39
5.4.80.0200.07716.29
5.4.70.0300.04016.46
5.4.60.0200.06716.47
5.4.50.0230.06016.45
5.4.40.0230.06716.46
5.4.30.0170.05716.20
5.4.20.0230.04316.16
5.4.10.0270.06316.38
5.4.00.0100.04715.73
5.3.290.0200.08014.52
5.3.280.0200.06714.45
5.3.270.0230.04714.51
5.3.260.0330.03314.46
5.3.250.0300.02714.55
5.3.240.0300.07014.46
5.3.230.0230.07314.44
5.3.220.0200.07714.40
5.3.210.0230.05314.61
5.3.200.0170.04714.40
5.3.190.0330.05714.41
5.3.180.0230.05014.50
5.3.170.0230.06314.39
5.3.160.0270.07014.61
5.3.150.0330.06714.40
5.3.140.0230.03714.49
5.3.130.0230.07014.64
5.3.120.0270.07314.38
5.3.110.0100.06014.40
5.3.100.0230.04313.95
5.3.90.0200.05313.98
5.3.80.0100.04314.00
5.3.70.0270.04313.89
5.3.60.0200.04013.86
5.3.50.0230.06713.89
5.3.40.0200.04713.78
5.3.30.0170.07313.84
5.3.20.0170.03713.56
5.3.10.0200.04313.54
5.3.00.0200.07013.62
5.2.170.0270.03012.08
5.2.160.0170.06012.10
5.2.150.0200.05712.11
5.2.140.0130.03312.13
5.2.130.0170.03312.14
5.2.120.0130.03712.14
5.2.110.0170.03012.14
5.2.100.0230.03012.14
5.2.90.0170.03712.14
5.2.80.0170.05312.14
5.2.70.0300.04712.14
5.2.60.0200.06012.14
5.2.50.0230.05312.14
5.2.40.0200.05712.14
5.2.30.0130.06012.14
5.2.20.0130.06312.14
5.2.10.0230.03312.14
5.2.00.0130.06012.14
5.1.60.0200.05012.14
5.1.50.0100.05312.14
5.1.40.0130.04712.14
5.1.30.0170.05312.14
5.1.20.0200.05012.14
5.1.10.0170.03712.14
5.1.00.0200.05012.14
5.0.50.0100.04712.14
5.0.40.0070.04312.14
5.0.30.0200.04712.14
5.0.20.0100.02712.14
5.0.10.0130.03712.14
5.0.00.0030.06012.14
4.4.90.0070.02012.14
4.4.80.0070.02312.14
4.4.70.0000.04012.14
4.4.60.0100.03312.14
4.4.50.0100.03312.14
4.4.40.0130.05012.14
4.4.30.0030.03712.14
4.4.20.0030.02012.14
4.4.10.0070.03312.14
4.4.00.0100.04012.14
4.3.110.0070.02712.14
4.3.100.0070.03012.14
4.3.90.0070.03012.14
4.3.80.0100.02712.14
4.3.70.0100.03312.14
4.3.60.0030.03712.14
4.3.50.0030.03312.14
4.3.40.0100.03712.14
4.3.30.0100.03012.14
4.3.20.0000.02312.14
4.3.10.0030.03712.14
4.3.00.0030.02712.14

preferences:
34.75 ms | 401 KiB | 5 Q