3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $_SESSION['test'] = 123; $var = array('_SESSION[test]' => 999); extract($var); var_dump($_SESSION);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cJS25
function name:  (null)
number of ops:  14
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    4     2        FETCH_W                      global              $2      '_SESSION'
          3        ASSIGN_DIM                                               $2, 'test'
          4        OP_DATA                                                  123
    5     5        ASSIGN                                                   !0, <array>
    6     6        INIT_FCALL                                               'extract'
          7        SEND_REF                                                 !0
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        FETCH_R                      global              ~6      '_SESSION'
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.48 ms | 1394 KiB | 19 Q