3v4l.org

run code in 300+ PHP versions simultaneously
<?php function show($v) { echo "$v\n"; } show(pow(2, 0)); show(1 << 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VmcSY
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'show'
          1        INIT_FCALL                                               'pow'
          2        SEND_VAL                                                 2
          3        SEND_VAL                                                 0
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_FCALL                                      0          
    5     7        INIT_FCALL                                               'show'
          8        SEND_VAL                                                 4
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function show:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VmcSY
function name:  show
number of ops:  5
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        NOP                                                      
          2        FAST_CONCAT                                      ~1      !0, '%0A'
          3        ECHO                                                     ~1
          4      > RETURN                                                   null

End of function show

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.39 ms | 1396 KiB | 17 Q