3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Start $c = count(get_defined_vars()); $mystring = null; $v = get_defined_vars(); var_dump(array_slice($c, $v + 1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UmIH7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $c, !1 = $mystring, !2 = $v
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
    5     4        ASSIGN                                                   !1, null
    7     5        INIT_FCALL                                               'get_defined_vars'
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
    8     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'array_slice'
         10        SEND_VAR                                                 !0
         11        ADD                                              ~9      !2, 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:
153.65 ms | 1394 KiB | 19 Q