3v4l.org

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

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

End of function whipme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.65 ms | 1397 KiB | 17 Q