3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a ="zz"; $b = "zz"; $a++; $b--; var_dump($a); var_dump($b); $c = "zz"; $c = (int) $c; var_dump($c++);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O9dMk
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'zz'
    4     1        ASSIGN                                                   !1, 'zz'
    6     2        PRE_INC                                                  !0
    7     3        PRE_DEC                                                  !1
    9     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   10     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
   12    10        ASSIGN                                                   !2, 'zz'
   13    11        CAST                                          4  ~10     !2
         12        ASSIGN                                                   !2, ~10
   14    13        INIT_FCALL                                               'var_dump'
         14        POST_INC                                         ~12     !2
         15        SEND_VAL                                                 ~12
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.57 ms | 1394 KiB | 15 Q