3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Start $a = count(get_defined_vars()); /* Your script goes here */ $b = 1; // End $c = get_defined_vars(); var_dump(array_slice($c, $a + 1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BH2Je
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'get_defined_vars'
          1        DO_ICALL                                         $3      
          2        COUNT                                            ~4      $3
          3        ASSIGN                                                   !0, ~4
    6     4        ASSIGN                                                   !1, 1
    9     5        INIT_FCALL                                               'get_defined_vars'
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
   10     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'array_slice'
         10        SEND_VAR                                                 !2
         11        ADD                                              ~9      !0, 1
         12        SEND_VAL                                                 ~9
         13        DO_ICALL                                         $10     
         14        SEND_VAR                                                 $10
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.92 ms | 1394 KiB | 19 Q