3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ok = (json_decode('{"200":"Status OK:217204"}')); $ok = (array)$ok; var_dump($ok, array_keys($ok), $ok[200],$ok["200"]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8ekov
function name:  (null)
number of ops:  18
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        INIT_FCALL                                               'array_keys'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        FETCH_DIM_R                                      ~6      !0, 200
         13        SEND_VAL                                                 ~6
         14        FETCH_DIM_R                                      ~7      !0, 200
         15        SEND_VAL                                                 ~7
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.32 ms | 1386 KiB | 19 Q