3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("a" => 5); 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/uJSQn
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        FETCH_DIM_IS                                     ~2      !0, 'd'
          2        FETCH_DIM_IS                                     ~3      ~2, 'e'
          3        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      ~3, 'f'
          4        BOOL_NOT                                         ~5      ~4
          5        ECHO                                                     ~5
   21     6        NEW                                              $6      'A'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !0, $6
   23     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'json_decode'
         11        INIT_FCALL                                               'json_encode'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $9      
         14        SEND_VAR                                                 $9
         15        DO_ICALL                                         $10     
         16        SEND_VAR                                                 $10
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.58 ms | 1394 KiB | 19 Q