3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isFoo() { return true; } if (!isFoo() <=> true) { print("yay"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/eVZro
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'isfoo'
          1        DO_FCALL                                      0  $0      
          2        BOOL_NOT                                         ~1      $0
          3        SPACESHIP                                        ~2      ~1, <true>
          4      > JMPZ                                                     ~2, ->6
    8     5    >   ECHO                                                     'yay'
    9     6    > > RETURN                                                   1

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

End of function isfoo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.77 ms | 1396 KiB | 14 Q