3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params_to_return = array( 'count' => range(1,10), 'sum' => array_sum(range(1,10)) ); // Automatically extract($params_to_return); var_dump($count, $sum); unset($count, $sum);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T2HvQ
function name:  (null)
number of ops:  24
compiled vars:  !0 = $params_to_return, !1 = $count, !2 = $sum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 10
          3        DO_ICALL                                         $3      
          4        INIT_ARRAY                                       ~4      $3, 'count'
    5     5        INIT_FCALL                                               'array_sum'
          6        INIT_FCALL                                               'range'
          7        SEND_VAL                                                 1
          8        SEND_VAL                                                 10
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                         $6      
         12        ADD_ARRAY_ELEMENT                                ~4      $6, 'sum'
    3    13        ASSIGN                                                   !0, ~4
   10    14        INIT_FCALL                                               'extract'
         15        SEND_REF                                                 !0
         16        DO_ICALL                                                 
   12    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
   13    21        UNSET_CV                                                 !1
         22        UNSET_CV                                                 !2
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.7 ms | 1386 KiB | 21 Q