3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace cli { function command() {} function prompt($message, &$var, $default) {} } namespace { use cli; use function cli\prompt; cli\command(); prompt("Hey! (yN) [y]>", $prompt, "y"); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HBsUD
function name:  (null)
number of ops:  8
compiled vars:  !0 = $prompt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'cli%5Ccommand'
          1        DO_FCALL                                      0          
   13     2        INIT_FCALL                                               'cli%5Cprompt'
          3        SEND_VAL                                                 'Hey%21+%28yN%29+%5By%5D%3E'
          4        SEND_REF                                                 !0
          5        SEND_VAL                                                 'y'
          6        DO_FCALL                                      0          
   14     7      > RETURN                                                   1

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

End of function cli%5Ccommand

Function cli%5Cprompt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HBsUD
function name:  cli\prompt
number of ops:  4
compiled vars:  !0 = $message, !1 = $var, !2 = $default
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3      > RETURN                                                   null

End of function cli%5Cprompt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.63 ms | 1389 KiB | 15 Q