3v4l.org

run code in 300+ PHP versions simultaneously
<?php (int) $i = 0; if(empty((int) $i) === true) echo 'yaaaa';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/XNTFX
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                           ~1      !0, 0
          1        CAST                                          4  ~2      ~1
          2        FREE                                                     ~2
    7     3        CAST                                          4  ~3      !0
          4        BOOL_NOT                                         ~4      ~3
          5        TYPE_CHECK                                    8          ~4
          6      > JMPZ                                                     ~5, ->8
          7    >   ECHO                                                     'yaaaa'
          8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.92 ms | 937 KiB | 14 Q