3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = null; if ($foo && $foo->getTitel() === 'at') echo 'boo'; class Satan { public function getDeibel() { return null; } } $satan = new \Satan(); if ($satan-getDeibel() && $satan->getDeibel()->getTeufel() === 'cap') { echo "Sheztan"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 6
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 21
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 21
Branch analysis from position: 8
Branch analysis from position: 6
filename:       /in/GdUPN
function name:  (null)
number of ops:  24
compiled vars:  !0 = $foo, !1 = $satan
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    5     1      > JMPZ_EX                                          ~3      !0, ->6
          2    >   INIT_METHOD_CALL                                         !0, 'getTitel'
          3        DO_FCALL                                      0  $4      
          4        IS_IDENTICAL                                     ~5      $4, 'at'
          5        BOOL                                             ~3      ~5
          6    > > JMPZ                                                     ~3, ->8
    6     7    >   ECHO                                                     'boo'
   15     8    >   NEW                                              $6      'Satan'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $6
   17    11        INIT_FCALL_BY_NAME                                       'getDeibel'
         12        DO_FCALL                                      0  $9      
         13        SUB                                              ~10     !1, $9
         14      > JMPZ_EX                                          ~10     ~10, ->21
         15    >   INIT_METHOD_CALL                                         !1, 'getDeibel'
         16        DO_FCALL                                      0  $11     
         17        INIT_METHOD_CALL                                         $11, 'getTeufel'
         18        DO_FCALL                                      0  $12     
         19        IS_IDENTICAL                                     ~13     $12, 'cap'
         20        BOOL                                             ~10     ~13
         21    > > JMPZ                                                     ~10, ->23
   18    22    >   ECHO                                                     'Sheztan'
   19    23    > > RETURN                                                   1

Class Satan:
Function getdeibel:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GdUPN
function name:  getDeibel
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   null
   12     1*     > RETURN                                                   null

End of function getdeibel

End of class Satan.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155 ms | 1395 KiB | 13 Q