3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ichinoda['navbar'] = array( 'class' => 'nb-plain', 'items' => array( 'hem' => array('text'=>'Hem', 'url'=>'me.php', 'title' => 'Min presentation om mig själv'), 'redovisning' => array('text'=>'Redovisning', 'url'=>'redovisning.php', 'title' => 'Redovisningar för kursmomenten'), 'filmdb' => array('text'=>'FilmDB', 'url'=>'filmdb.php', 'title' => 'Filmdatabas'), 'kalender' => array('text'=>'Kalender', 'url'=>'calendar.php', 'title' => 'Kalender med bild', 'submenu' => array( 'items' => array( // This is a menu item of the submenu 'searchTitle' => array( 'text' => 'search title', 'url' => 'moviedb_searchTitle.php', 'title' => 'search title' ), // This is a menu item of the submenu 'searchYear' => array( 'text' => 'searchYear', 'url' => 'moviedb_searchYear.php', 'title' => 'searchYear', 'class' => 'italic' ), 'searchGenre' => array( 'text' => 'searchGenre', 'url' => 'moviedb_searchGenre.php', 'title' => 'searchGenre', 'class' => 'italic' ), 'update' => array( 'text' => 'moviedb_update', 'url' => 'moviedb_update.php', 'title' => 'moviedb_update', 'class' => 'italic' ), 'create' => array( 'text' => 'moviedb_create', 'url' => 'moviedb_create.php', 'title' => 'moviedb_create', 'class' => 'italic' ), 'delete' => array( 'text' => 'moviedb_delete', 'url' => 'moviedb_delete.php', 'title' => 'moviedb_delete', 'class' => 'italic' ), ), ), ), 'kallkod' => array('text'=>'Källkod', 'url'=>'source.php', 'title' => 'Se källkoden'), ), 'callback_selected' => function($url) { if(basename($_SERVER['SCRIPT_FILENAME']) == $url) { return true; } } );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eBeFL
function name:  (null)
number of ops:  7
compiled vars:  !0 = $ichinoda
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_ARRAY                                       ~2      'nb-plain', 'class'
          1        ADD_ARRAY_ELEMENT                                ~2      <array>, 'items'
   61     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FeBeFL%3A61%240'
   65     3        ADD_ARRAY_ELEMENT                                ~2      ~3, 'callback_selected'
    3     4        ASSIGN_DIM                                               !0, 'navbar'
   65     5        OP_DATA                                                  ~2
   66     6      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FeBeFL%3A61%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eBeFL
function name:  {closure}
number of ops:  10
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   61     0  E >   RECV                                             !0      
   62     1        INIT_FCALL                                               'basename'
          2        FETCH_R                      global              ~1      '_SERVER'
          3        FETCH_DIM_R                                      ~2      ~1, 'SCRIPT_FILENAME'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        IS_EQUAL                                                 !0, $3
          7      > JMPZ                                                     ~4, ->9
   63     8    > > RETURN                                                   <true>
   65     9    > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FeBeFL%3A61%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.98 ms | 1395 KiB | 15 Q