3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "0d9"; $bar = "0d9"; var_dump($foo === $bar); var_dump($foo + 1); var_dump($foo === $bar); $foo += 1; $bar++; var_dump([$foo, $bar]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SaDnk
function name:  (null)
number of ops:  22
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0d9'
          1        ASSIGN                                                   !1, '0d9'
    3     2        INIT_FCALL                                               'var_dump'
          3        IS_IDENTICAL                                     ~4      !0, !1
          4        SEND_VAL                                                 ~4
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        ADD                                              ~6      !0, 1
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'var_dump'
         11        IS_IDENTICAL                                     ~8      !0, !1
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                                 
    6    14        ASSIGN_OP                                     1          !0, 1
         15        PRE_INC                                                  !1
    7    16        INIT_FCALL                                               'var_dump'
         17        INIT_ARRAY                                       ~12     !0
         18        ADD_ARRAY_ELEMENT                                ~12     !1
         19        SEND_VAL                                                 ~12
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.06 ms | 1386 KiB | 15 Q