3v4l.org

run code in 300+ PHP versions simultaneously
<?php function r_null(){ return null; } function r_estr(){ return ''; } function r_tstr(){ return 'hi'; } function r_rstr(){ return 'bye'; } echo r_null() | r_estr() | r_tstr() | r_rstr();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Wrha
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'r_null'
          1        DO_FCALL                                      0  $0      
          2        INIT_FCALL                                               'r_estr'
          3        DO_FCALL                                      0  $1      
          4        BW_OR                                            ~2      $0, $1
          5        INIT_FCALL                                               'r_tstr'
          6        DO_FCALL                                      0  $3      
          7        BW_OR                                            ~4      $3, ~2
          8        INIT_FCALL                                               'r_rstr'
          9        DO_FCALL                                      0  $5      
         10        BW_OR                                            ~6      $5, ~4
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

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

End of function r_null

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

End of function r_estr

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

End of function r_tstr

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

End of function r_rstr

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.71 ms | 1399 KiB | 17 Q