3v4l.org

run code in 300+ PHP versions simultaneously
<?php $entryInfo = "{}"; $decoded = json_decode($entryInfo); if (!empty($decoded)) { echo print_r($decoded); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/kgrrY
function name:  (null)
number of ops:  13
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        ISSET_ISEMPTY_CV                                 ~5      !1
          6        BOOL_NOT                                         ~6      ~5
          7      > JMPZ                                                     ~6, ->12
    5     8    >   INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11        ECHO                                                     $7
    6    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.56 ms | 1394 KiB | 17 Q