3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isFoo() { return true; } if (!isFoo() <=> true ?? false) { print("yay"); }
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/Oa5XE
function name:  (null)
number of ops:  9
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        COALESCE                                         ~3      ~2
          5        QM_ASSIGN                                        ~3      <false>
          6      > JMPZ                                                     ~3, ->8
    8     7    >   ECHO                                                     'yay'
    9     8    > > RETURN                                                   1

Function isfoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Oa5XE
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:
163.69 ms | 1388 KiB | 14 Q