3v4l.org

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

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

End of function whipme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.09 ms | 1397 KiB | 16 Q