3v4l.org

run code in 300+ PHP versions simultaneously
<?php function blah() { echo "y"; } $bob = "blah"; if(is_callable($bob)) { echo "x"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/5C5Ao
function name:  (null)
number of ops:  7
compiled vars:  !0 = $bob
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 'blah'
    9     1        INIT_FCALL                                               'is_callable'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4      > JMPZ                                                     $2, ->6
   10     5    >   ECHO                                                     'x'
   11     6    > > RETURN                                                   1

Function blah:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5C5Ao
function name:  blah
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'y'
    5     1      > RETURN                                                   null

End of function blah

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.78 ms | 1394 KiB | 15 Q