3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("a" => 5); $a = $c; echo !isset($a['d']['e']['f']); //$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/lIcgg
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
   23     7        NEW                                              $8      'A'
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !0, $8
   25    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'json_decode'
         12        INIT_FCALL                                               'json_encode'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $11     
         15        SEND_VAR                                                 $11
         16        DO_ICALL                                         $12     
         17        SEND_VAR                                                 $12
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.54 ms | 1395 KiB | 19 Q