3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ree () { return array(); } var_dump(($lastPostCID = end(ree())) ? $lastPostCID : 0);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jO9PU
function name:  (null)
number of ops:  14
compiled vars:  !0 = $lastPostCID
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'end'
          2        INIT_FCALL                                               'ree'
          3        DO_FCALL                                      0  $1      
          4        SEND_VAR_NO_REF                               0          $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                           ~3      !0, $2
          7      > JMPZ                                                     ~3, ->10
          8    >   QM_ASSIGN                                        ~4      !0
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~4      0
         11    >   SEND_VAL                                                 ~4
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Function ree:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jO9PU
function name:  ree
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 ree

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.54 ms | 1397 KiB | 18 Q