3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( explode( '/', 'banner_top_wide', 2 ) ); list( $moduleName, $viewName ) = explode( '/', 'banner_top_wide', 2 ); var_dump( array( $moduleName, $viewName ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qKNTu
function name:  (null)
number of ops:  24
compiled vars:  !0 = $moduleName, !1 = $viewName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2F'
          3        SEND_VAL                                                 'banner_top_wide'
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%2F'
         10        SEND_VAL                                                 'banner_top_wide'
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $4      
         13        FETCH_LIST_R                                     $5      $4, 0
         14        ASSIGN                                                   !0, $5
         15        FETCH_LIST_R                                     $7      $4, 1
         16        ASSIGN                                                   !1, $7
         17        FREE                                                     $4
    6    18        INIT_FCALL                                               'var_dump'
         19        INIT_ARRAY                                       ~9      !0
         20        ADD_ARRAY_ELEMENT                                ~9      !1
         21        SEND_VAL                                                 ~9
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.8 ms | 1395 KiB | 17 Q