3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("a" => 5); $a = $c; echo !isset($a['d']['e']['f']); define(TEST, 1); define(TEST, 2); echo TEST; //$b = array('test', "deb"); //$c = array("sdf", "dsf"); //var_dump($a + $b); //class A { // protected $b = 5; //} //$a = new A(); //var_dump(json_decode(json_encode($a)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DSfXH
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !0, !1
    7     2        FETCH_DIM_IS                                     ~4      !0, 'd'
          3        FETCH_DIM_IS                                     ~5      ~4, 'e'
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'f'
          5        BOOL_NOT                                         ~7      ~6
          6        ECHO                                                     ~7
   11     7        INIT_FCALL                                               'define'
          8        FETCH_CONSTANT                                   ~8      'TEST'
          9        SEND_VAL                                                 ~8
         10        SEND_VAL                                                 1
         11        DO_ICALL                                                 
   12    12        INIT_FCALL                                               'define'
         13        FETCH_CONSTANT                                   ~10     'TEST'
         14        SEND_VAL                                                 ~10
         15        SEND_VAL                                                 2
         16        DO_ICALL                                                 
   14    17        FETCH_CONSTANT                                   ~12     'TEST'
         18        ECHO                                                     ~12
   30    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.9 ms | 1386 KiB | 15 Q