3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ok = (json_decode('{"200":"Status OK:217204"}')); $ok = (array)$ok; var_dump($ok, isset($ok[200]) || isset($ok["200"]));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/SaXdp
function name:  (null)
number of ops:  15
compiled vars:  !0 = $ok
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22200%22%3A%22Status+OK%3A217204%22%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        CAST                                          7  ~3      !0
          5        ASSIGN                                                   !0, ~3
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      !0, 200
          9      > JMPNZ_EX                                         ~5      ~5, ->12
         10    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !0, 200
         11        BOOL                                             ~5      ~6
         12    >   SEND_VAL                                                 ~5
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.62 ms | 1394 KiB | 17 Q