3v4l.org

run code in 300+ PHP versions simultaneously
<?php $barney = "A big purple dinosaur.";session_register("barney");echo "<pre>";print_r($_SESSION);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Nt49t
function name:  (null)
number of ops:  10
compiled vars:  !0 = $barney
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 'A+big+purple+dinosaur.'
          1        INIT_FCALL_BY_NAME                                       'session_register'
          2        SEND_VAL_EX                                              'barney'
          3        DO_FCALL                                      0          
          4        ECHO                                                     '%3Cpre%3E'
          5        INIT_FCALL                                               'print_r'
          6        FETCH_R                      global              ~3      '_SESSION'
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.28 ms | 1393 KiB | 15 Q