3v4l.org

run code in 300+ PHP versions simultaneously
<?php // przykład 1 function example1() { return 'test'; } if ($value = example1()) { echo $value; } else { echo 'example1 zwróciło fałsz'; } echo ' | '; // przykład 2 function example2() { return false; } if ($value = example2()) { echo $value; } else { echo 'example2 zwróciło fałsz'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
Branch analysis from position: 14
filename:       /in/tTDrc
function name:  (null)
number of ops:  16
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'example1'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                           ~2      !0, $1
          3      > JMPZ                                                     ~2, ->6
   10     4    >   ECHO                                                     !0
          5      > JMP                                                      ->7
   12     6    >   ECHO                                                     'example1+zwr%C3%B3ci%C5%82o+fa%C5%82sz'
   15     7    >   ECHO                                                     '+%7C+'
   23     8        INIT_FCALL                                               'example2'
          9        DO_FCALL                                      0  $3      
         10        ASSIGN                                           ~4      !0, $3
         11      > JMPZ                                                     ~4, ->14
   24    12    >   ECHO                                                     !0
         13      > JMP                                                      ->15
   26    14    >   ECHO                                                     'example2+zwr%C3%B3ci%C5%82o+fa%C5%82sz'
   27    15    > > RETURN                                                   1

Function example1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tTDrc
function name:  example1
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   'test'
    7     1*     > RETURN                                                   null

End of function example1

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

End of function example2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.44 ms | 1403 KiB | 15 Q