3v4l.org

run code in 500+ PHP versions simultaneously
<?php $json = '{"id":15,"description":"new product","pic1":"15682078931.jpg","pic2":"15682078632.jpg","pic3":"15682078633.jpg","pic4":"15682078634.png","pic5":"15682078635.jpg"}'; $product = json_decode($json); echo $product->pic1; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CVMOM
function name:  (null)
number of ops:  8
compiled vars:  !0 = $json, !1 = $product
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%7B%22id%22%3A15%2C%22description%22%3A%22new+product%22%2C%22pic1%22%3A%2215682078931.jpg%22%2C%22pic2%22%3A%2215682078632.jpg%22%2C%22pic3%22%3A%2215682078633.jpg%22%2C%22pic4%22%3A%2215682078634.png%22%2C%22pic5%22%3A%2215682078635.jpg%22%7D'
    5     1        INIT_FCALL                                                   'json_decode'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $3      
          4        ASSIGN                                                       !1, $3
    7     5        FETCH_OBJ_R                                          ~5      !1, 'pic1'
          6        ECHO                                                         ~5
    8     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.57 ms | 2090 KiB | 14 Q