3v4l.org

run code in 300+ PHP versions simultaneously
<?php function whipme($a) { echo (int) $a." "; $a--; $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/EpLdJ
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'whipme'
          1        SEND_VAL                                                 null
          2        DO_FCALL                                      0          
   14     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/EpLdJ
function name:  whipme
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        CAST                                          4  ~1      !0
          2        CONCAT                                           ~2      ~1, '+'
          3        ECHO                                                     ~2
    7     4        PRE_DEC                                                  !0
    8     5        PRE_INC                                                  !0
   10     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
   11     9      > RETURN                                                   null

End of function whipme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.75 ms | 1397 KiB | 17 Q