3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = "TEST:11"; list($name, $value) = array_map('trim', explode(':', $name, 2)); $arrAux = array_map('trim', explode(':', $name, 2)); $name = $arrAux[0]; $value = $arrAux[1]; var_dump($arrAux);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gC0ZT
function name:  (null)
number of ops:  33
compiled vars:  !0 = $name, !1 = $value, !2 = $arrAux
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'TEST%3A11'
    4     1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 'trim'
          3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%3A'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        FETCH_LIST_R                                     $6      $5, 0
         11        ASSIGN                                                   !0, $6
         12        FETCH_LIST_R                                     $8      $5, 1
         13        ASSIGN                                                   !1, $8
         14        FREE                                                     $5
    9    15        INIT_FCALL                                               'array_map'
         16        SEND_VAL                                                 'trim'
         17        INIT_FCALL                                               'explode'
         18        SEND_VAL                                                 '%3A'
         19        SEND_VAR                                                 !0
         20        SEND_VAL                                                 2
         21        DO_ICALL                                         $10     
         22        SEND_VAR                                                 $10
         23        DO_ICALL                                         $11     
         24        ASSIGN                                                   !2, $11
   10    25        FETCH_DIM_R                                      ~13     !2, 0
         26        ASSIGN                                                   !0, ~13
   11    27        FETCH_DIM_R                                      ~15     !2, 1
         28        ASSIGN                                                   !1, ~15
   14    29        INIT_FCALL                                               'var_dump'
         30        SEND_VAR                                                 !2
         31        DO_ICALL                                                 
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.33 ms | 1396 KiB | 19 Q