3v4l.org

run code in 300+ PHP versions simultaneously
<?php function arrReturn() { return array(); } if (isset((arrReturn())['test'])) { echo 'test'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/uAvRm
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'arrreturn'
          1        DO_FCALL                                      0  $0      
          2        ISSET_ISEMPTY_DIM_OBJ                         0          $0, 'test'
          3      > JMPZ                                                     ~1, ->5
    6     4    >   ECHO                                                     'test'
    7     5    > > RETURN                                                   1

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

End of function arrreturn

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.85 ms | 1396 KiB | 14 Q