3v4l.org

run code in 300+ PHP versions simultaneously
<?php function whipme($a = NULL) { $a--; var_dump(++$a); } whipme(); whipme(0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mEAvt
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'whipme'
          1        DO_FCALL                                      0          
   10     2        INIT_FCALL                                               'whipme'
          3        SEND_VAL                                                 0
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function whipme:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mEAvt
function name:  whipme
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
    5     1        PRE_DEC                                                  !0
    6     2        INIT_FCALL                                               'var_dump'
          3        PRE_INC                                          ~2      !0
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
    7     6      > RETURN                                                   null

End of function whipme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.08 ms | 1397 KiB | 17 Q