3v4l.org

run code in 300+ PHP versions simultaneously
ยง<?php $callable = array('Foo', 'fooBar'); list($controller, $method) = is_array($callable) ? $callable : explode('::', $callable); var_dump($controller, $method);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ALUOi
function name:  (null)
number of ops:  21
compiled vars:  !0 = $callable, !1 = $controller, !2 = $method
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%C2%A7'
    3     1        ASSIGN                                                   !0, <array>
    5     2        TYPE_CHECK                                  128          !0
          3      > JMPZ                                                     ~4, ->6
          4    >   QM_ASSIGN                                        ~5      !0
          5      > JMP                                                      ->11
          6    >   INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '%3A%3A'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        QM_ASSIGN                                        ~5      $6
         11    >   FETCH_LIST_R                                     $7      ~5, 0
         12        ASSIGN                                                   !1, $7
         13        FETCH_LIST_R                                     $9      ~5, 1
         14        ASSIGN                                                   !2, $9
         15        FREE                                                     ~5
    7    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !1
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.8 ms | 1395 KiB | 17 Q