3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar() { echo "HELLO "; return true; } public static function save() { echo "GOOD BYE "; return true; } } if (Foo::bar() || Foo::save()) { echo " :)"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
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
Branch analysis from position: 6
filename:       /in/0RHoD
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_STATIC_METHOD_CALL                                  'Foo', 'bar'
          1        DO_FCALL                                      0  $0      
          2      > JMPNZ_EX                                         ~1      $0, ->6
          3    >   INIT_STATIC_METHOD_CALL                                  'Foo', 'save'
          4        DO_FCALL                                      0  $2      
          5        BOOL                                             ~1      $2
          6    > > JMPZ                                                     ~1, ->8
   19     7    >   ECHO                                                     '+%3A%29'
   20     8    > > RETURN                                                   1

Class Foo:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0RHoD
function name:  bar
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'HELLO+'
    7     1      > RETURN                                                   <true>
    8     2*     > RETURN                                                   null

End of function bar

Function save:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0RHoD
function name:  save
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ECHO                                                     'GOOD+BYE+'
   13     1      > RETURN                                                   <true>
   14     2*     > RETURN                                                   null

End of function save

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.61 ms | 1398 KiB | 13 Q