3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', 1); error_reporting(E_ALL | E_STRICT); $data = null; echo $data['wok']; // Remains silent $data['test'] = 'test'; echo $data['wok']; // Gives an undefined error
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OiW3t
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'display_errors'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'error_reporting'
          5        SEND_VAL                                                 32767
          6        DO_ICALL                                                 
    5     7        ASSIGN                                                   !0, null
    6     8        FETCH_DIM_R                                      ~4      !0, 'wok'
          9        ECHO                                                     ~4
    7    10        ASSIGN_DIM                                               !0, 'test'
         11        OP_DATA                                                  'test'
    8    12        FETCH_DIM_R                                      ~6      !0, 'wok'
         13        ECHO                                                     ~6
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.72 ms | 1394 KiB | 17 Q