3v4l.org

run code in 500+ PHP versions simultaneously
<?php function bar() { $a = array('a' => '1234567890'); return $a; } var_dump(array_pop(bar())); $x = bar(); var_dump(array_pop($x));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qUDOv
function name:  (null)
number of ops:  18
compiled vars:  !0 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'array_pop'
          2        INIT_FCALL                                                   'bar'
          3        DO_FCALL                                          0  $1      
          4        SEND_VAR_NO_REF                                   0          $1
          5        DO_ICALL                                             $2      
          6        SEND_VAR                                                     $2
          7        DO_ICALL                                                     
    9     8        INIT_FCALL                                                   'bar'
          9        DO_FCALL                                          0  $4      
         10        ASSIGN                                                       !0, $4
   10    11        INIT_FCALL                                                   'var_dump'
         12        INIT_FCALL                                                   'array_pop'
         13        SEND_REF                                                     !0
         14        DO_ICALL                                             $6      
         15        SEND_VAR                                                     $6
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

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

End of function bar

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.2 ms | 3320 KiB | 17 Q