3v4l.org

run code in 300+ PHP versions simultaneously
<?php function demo() { return array( 'demo1' => 'asd', 'demo2' => 'dfg', 'demo3' => 'ghj', ); } list($demo1, $demo2, $demo3) = demo(); var_dump($demo1, $demo2, $demo3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IV4ui
function name:  (null)
number of ops:  15
compiled vars:  !0 = $demo1, !1 = $demo2, !2 = $demo3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'demo'
          1        DO_FCALL                                      0  $3      
          2        FETCH_LIST_R                                     $4      $3, 0
          3        ASSIGN                                                   !0, $4
          4        FETCH_LIST_R                                     $6      $3, 1
          5        ASSIGN                                                   !1, $6
          6        FETCH_LIST_R                                     $8      $3, 2
          7        ASSIGN                                                   !2, $8
          8        FREE                                                     $3
   15     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

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

End of function demo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.81 ms | 1397 KiB | 16 Q