3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = true; --$a; if($a == true){ echo "đã true"; }else{ echo "vẫn false"; } echo PHP_EOL.$a.PHP_EOL; $b = null; echo ++$b;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fi4t7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <true>
    5     1        PRE_DEC                                                  !0
    7     2        BOOL                                             ~4      !0
          3      > JMPZ                                                     ~4, ->6
    9     4    >   ECHO                                                     '%C4%91%C3%A3+true'
    7     5      > JMP                                                      ->7
   13     6    >   ECHO                                                     'v%E1%BA%ABn+false'
   17     7    >   CONCAT                                           ~5      '%0A', !0
          8        CONCAT                                           ~6      ~5, '%0A'
          9        ECHO                                                     ~6
   19    10        ASSIGN                                                   !1, null
   21    11        PRE_INC                                          ~8      !1
         12        ECHO                                                     ~8
   22    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.5 ms | 1006 KiB | 13 Q