3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paymentoptionArr = explode('_', 'NB_ALLB'); echo $payment_method = array_shift($paymentoptionArr)."<br />" ; echo "<pre>"; print_r($paymentoptionArr); echo $bank_code = array_shift($paymentoptionArr);

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.00018.41
8.3.50.0150.00421.95
8.3.40.0040.01118.72
8.3.30.0110.00418.95
8.3.20.0040.00420.20
8.3.10.0030.00622.04
8.3.00.0000.00819.25
8.2.180.0040.01116.63
8.2.170.0090.00622.96
8.2.160.0120.00820.53
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.98
8.2.110.0030.00620.36
8.2.100.0080.00317.78
8.2.90.0000.00818.92
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00318.04
8.2.50.0050.00318.10
8.2.40.0050.00318.16
8.2.30.0000.00718.11
8.2.20.0000.00717.55
8.2.10.0000.00717.90
8.2.00.0000.00817.61
8.1.280.0070.01125.92
8.1.270.0090.00023.77
8.1.260.0050.00226.35
8.1.250.0040.01128.09
8.1.240.0100.00022.21
8.1.230.0060.00617.70
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0030.00617.38
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0000.00818.70
8.1.160.0040.00421.93
8.1.150.0060.00318.79
8.1.140.0080.00017.36
8.1.130.0000.00717.74
8.1.120.0000.00717.40
8.1.110.0040.00417.35
8.1.100.0000.00717.48
8.1.90.0040.00417.44
8.1.80.0040.00417.42
8.1.70.0040.00417.41
8.1.60.0040.00417.46
8.1.50.0040.00417.38
8.1.40.0000.00717.41
8.1.30.0000.00817.50
8.1.20.0080.00017.50
8.1.10.0020.00517.44
8.1.00.0040.00417.42
8.0.300.0090.00019.75
8.0.290.0070.00016.75
8.0.280.0030.00318.43
8.0.270.0030.00317.11
8.0.260.0000.00617.12
8.0.250.0030.00316.88
8.0.240.0000.00816.99
8.0.230.0030.00316.92
8.0.220.0020.00516.82
8.0.210.0030.00316.77
8.0.200.0030.00316.83
8.0.190.0070.00016.99
8.0.180.0050.00216.83
8.0.170.0000.00816.81
8.0.160.0070.00016.82
8.0.150.0000.00716.64
8.0.140.0000.00716.89
8.0.130.0030.00313.30
8.0.120.0040.00416.86
8.0.110.0040.00416.85
8.0.100.0020.00516.92
8.0.90.0000.00716.77
8.0.80.0040.01116.85
8.0.70.0070.00016.71
8.0.60.0050.00216.83
8.0.50.0040.00416.88
8.0.30.0110.01217.06
8.0.20.0140.00417.40
8.0.10.0040.00416.93
8.0.00.0110.00616.65
7.4.330.0030.00315.00
7.4.320.0060.00316.44
7.4.300.0040.00416.39
7.4.290.0050.00216.61
7.4.280.0050.00216.41
7.4.270.0030.00316.54
7.4.260.0020.00516.55
7.4.250.0040.00416.49
7.4.240.0030.00316.43
7.4.230.0030.00416.50
7.4.220.0090.00916.46
7.4.210.0100.01016.48
7.4.200.0030.00316.46
7.4.160.0160.00316.51
7.4.150.0160.00417.40
7.4.140.0080.01017.86
7.4.130.0100.00816.46
7.4.120.0100.00716.37
7.4.110.0030.01316.41
7.4.100.0040.01416.45
7.4.90.0030.01416.26
7.4.80.0030.01619.39
7.4.70.0090.00916.48
7.4.60.0030.01416.45
7.4.50.0000.00616.40
7.4.40.0000.01616.35
7.4.30.0000.02216.58
7.4.00.0000.01414.66
7.3.330.0030.00312.94
7.3.320.0000.00612.93
7.3.310.0030.00616.29
7.3.300.0070.00016.25
7.3.290.0070.00716.16
7.3.280.0070.00816.20
7.3.270.0100.01317.40
7.3.260.0100.00716.20
7.3.250.0100.00716.43
7.3.240.0090.00916.16
7.3.230.0130.00316.39
7.3.210.0140.01016.43
7.3.200.0130.00719.39
7.3.190.0090.00816.46
7.3.180.0130.00316.09
7.3.170.0150.00316.32
7.3.160.0030.01316.19
7.2.330.0160.01916.46
7.2.320.0120.00416.39
7.2.310.0110.00616.38
7.2.300.0090.00916.74
7.2.290.0110.00916.51
7.2.00.0030.01019.47
7.1.100.0090.00618.11
7.1.70.0050.00217.09
7.1.60.0180.00719.32
7.1.50.0100.01316.99
7.1.00.0030.07722.42
7.0.200.0030.00716.70
7.0.140.0030.07022.00
7.0.60.0100.07320.04
7.0.50.0000.04317.89
7.0.40.0030.06719.96
7.0.30.0570.06320.17
7.0.20.0370.07320.19
7.0.10.0100.06720.12
7.0.00.0070.09020.22
5.6.280.0100.06720.88
5.6.210.0100.04720.68
5.6.200.0000.05018.29
5.6.190.0070.06720.55
5.6.180.0470.07320.48
5.6.170.0300.05320.46
5.6.160.0100.07320.43
5.6.150.0030.05718.25
5.6.140.0070.03718.28
5.6.130.0100.07718.18
5.6.120.0000.04720.92
5.6.110.0070.06020.88
5.6.100.0100.08320.98
5.6.90.0230.07721.11
5.6.80.0100.07720.41
5.5.350.0130.08320.40
5.5.340.0030.04717.95
5.5.330.0070.04020.27
5.5.320.0500.06020.35
5.5.310.0270.08020.26
5.5.300.0030.08718.07
5.5.290.0070.07317.95
5.5.280.0030.07020.64
5.5.270.0070.08020.84
5.5.260.0070.08320.75
5.5.250.0200.05320.42
5.5.240.0130.08020.25
5.4.450.0170.03719.54
5.4.440.0130.04019.41
5.4.430.0370.04019.41
5.4.420.0730.00019.52
5.4.410.0670.00019.46
5.4.400.0630.00019.09
5.4.390.0630.00018.99
5.4.380.0770.00019.07
5.4.370.0670.00019.13
5.4.360.0670.00019.04
5.4.350.0670.00019.16
5.4.340.0630.00019.07
5.4.320.0110.04512.48
5.4.310.0080.05312.48
5.4.300.0180.06512.48
5.4.290.0080.05112.48
5.4.280.0060.04412.37
5.4.270.0030.04112.38
5.4.260.0040.05112.38
5.4.250.0050.05012.37
5.4.240.0100.04012.38
5.4.230.0050.04412.37
5.4.220.0090.04612.36
5.4.210.0060.03712.36
5.4.200.0060.03812.36
5.4.190.0080.03612.36
5.4.180.0080.03512.36
5.4.170.0090.04412.37
5.4.160.0100.04712.37
5.4.150.0090.03712.37
5.4.140.0060.03812.05
5.4.130.0030.03912.04
5.4.120.0060.04212.00
5.4.110.0090.03911.99
5.4.100.0090.04211.99
5.4.90.0040.04811.99
5.4.80.0090.03811.99
5.4.70.0090.04011.98
5.4.60.0070.04211.99
5.4.50.0080.04011.99
5.4.40.0080.03611.97
5.4.30.0050.03611.97
5.4.20.0100.03511.97
5.4.10.0090.04111.97
5.4.00.0040.04211.47
5.3.290.0080.04012.80
5.3.280.0070.04612.70
5.3.270.0050.05212.73
5.3.260.0070.04412.72
5.3.250.0120.03312.72
5.3.240.0050.05412.72
5.3.230.0060.05112.71
5.3.220.0100.04912.68
5.3.210.0060.05112.68
5.3.200.0110.04612.68
5.3.190.0150.03612.67
5.3.180.0080.04412.67
5.3.170.0070.04612.67
5.3.160.0070.03712.67
5.3.150.0100.04212.67
5.3.140.0060.04512.66
5.3.130.0060.04912.65
5.3.120.0110.03912.66
5.3.110.0050.04212.66
5.3.100.0040.04012.12
5.3.90.0060.03712.09
5.3.80.0060.04012.08
5.3.70.0070.03812.08
5.3.60.0090.03512.06
5.3.50.0080.03712.01
5.3.40.0100.04712.01
5.3.30.0080.04311.97
5.3.20.0070.03411.75
5.3.10.0060.03411.72
5.3.00.0050.03911.71
5.2.170.0030.0339.21
5.2.160.0030.0369.20
5.2.150.0030.0349.20
5.2.140.0090.0369.20
5.2.130.0060.0499.16
5.2.120.0080.0449.16
5.2.110.0030.0449.17
5.2.100.0050.0419.17
5.2.90.0060.0319.17
5.2.80.0070.0359.16
5.2.70.0030.0329.16
5.2.60.0050.0309.12
5.2.50.0070.0339.09
5.2.40.0100.0289.06
5.2.30.0050.0309.04
5.2.20.0060.0279.02
5.2.10.0050.0288.93
5.2.00.0040.0298.79
5.1.60.0060.0248.06
5.1.50.0070.0248.05
5.1.40.0060.0248.04
5.1.30.0060.0268.39
5.1.20.0070.0328.41
5.1.10.0060.0258.14
5.1.00.0060.0308.13
5.0.50.0060.0216.61
5.0.40.0040.0226.48
5.0.30.0030.0426.29
5.0.20.0050.0256.26
5.0.10.0070.0256.23
5.0.00.0050.0386.23
4.4.90.0030.0174.78
4.4.80.0030.0204.76
4.4.70.0010.0204.76
4.4.60.0020.0184.75
4.4.50.0010.0184.77
4.4.40.0010.0314.71
4.4.30.0040.0144.76
4.4.20.0050.0164.84
4.4.10.0030.0194.85
4.4.00.0030.0284.76
4.3.110.0030.0194.67
4.3.100.0010.0184.66
4.3.90.0030.0184.64
4.3.80.0010.0314.58
4.3.70.0050.0144.63
4.3.60.0060.0164.63
4.3.50.0040.0154.63
4.3.40.0020.0264.53
4.3.30.0010.0173.28
4.3.20.0020.0163.25
4.3.10.0020.0163.22
4.3.00.0070.01313.21

preferences:
40.7 ms | 401 KiB | 5 Q