3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fdf() { return false; } $asd = 1; if (1 == 1 && $asd = fdf()) { echo 'in'; } echo PHP_EOL . 'end';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/t9McD
function name:  (null)
number of ops:  9
compiled vars:  !0 = $asd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 1
    8     1        INIT_FCALL                                               'fdf'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                           ~3      !0, $2
          4        BOOL                                             ~4      ~3
          5      > JMPZ                                                     ~4, ->7
    9     6    >   ECHO                                                     'in'
   11     7    >   ECHO                                                     '%0Aend'
          8      > RETURN                                                   1

Function fdf:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t9McD
function name:  fdf
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   <false>
    5     1*     > RETURN                                                   null

End of function fdf

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.26 ms | 1397 KiB | 14 Q