3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); echo $_SESSION['name'] ?? "--name--". PHP_EOL; echo $_SESSION['time'] ?? "--time--". PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EDgl4
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    4     2        FETCH_IS                                         ~1      '_SESSION'
          3        FETCH_DIM_IS                                     ~2      ~1, 'name'
          4        COALESCE                                         ~3      ~2
          5        QM_ASSIGN                                        ~3      '--name--%0A'
          6        ECHO                                                     ~3
    5     7        FETCH_IS                                         ~4      '_SESSION'
          8        FETCH_DIM_IS                                     ~5      ~4, 'time'
          9        COALESCE                                         ~6      ~5
         10        QM_ASSIGN                                        ~6      '--time--%0A'
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.15 ms | 1394 KiB | 15 Q