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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P9OYm
function name:  (null)
number of ops:  21
compiled vars:  !0 = $paymentoptionArr, !1 = $payment_method, !2 = $bank_code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '_'
          2        SEND_VAL                                                 'NB_ALLB'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    3     5        INIT_FCALL                                               'array_shift'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                         $5      
          8        CONCAT                                           ~6      $5, '%3Cbr+%2F%3E'
          9        ASSIGN                                           ~7      !1, ~6
         10        ECHO                                                     ~7
    4    11        ECHO                                                     '%3Cpre%3E'
         12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
    5    15        INIT_FCALL                                               'array_shift'
         16        SEND_REF                                                 !0
         17        DO_ICALL                                         $9      
         18        ASSIGN                                           ~10     !2, $9
         19        ECHO                                                     ~10
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.54 ms | 1395 KiB | 19 Q