3v4l.org

run code in 500+ PHP versions simultaneously
<?php $users = json_decode('[{"name": "hakre"}]'); echo $users->name; # Notice: Trying to get property of non-object
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SUDe0
function name:  (null)
number of ops:  7
compiled vars:  !0 = $users
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'json_decode'
          1        SEND_VAL                                                     '%5B%7B%22name%22%3A+%22hakre%22%7D%5D'
          2        DO_ICALL                                             $1      
          3        ASSIGN                                                       !0, $1
    4     4        FETCH_OBJ_R                                          ~3      !0, 'name'
          5        ECHO                                                         ~3
          6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
234.72 ms | 3321 KiB | 14 Q