3v4l.org

run code in 300+ PHP versions simultaneously
<?php $entryInfo = "{}"; $decoded = json_decode($entryInfo); if (!empty((array) $decoded)) { echo print_r($decoded); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/5TWVr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $entryInfo, !1 = $decoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%7D'
    3     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        CAST                                          7  ~5      !1
          6        BOOL_NOT                                         ~6      ~5
          7        BOOL_NOT                                         ~7      ~6
          8      > JMPZ                                                     ~7, ->13
    5     9    >   INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $8      
         12        ECHO                                                     $8
    6    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.46 ms | 1394 KiB | 17 Q