3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j1 = '{ data: [ { parent: "summer", image: "template/assets/x354.jpg", productName: "United Colors of Benetton" }, { parent: "autumn", image: "template/assets/x354.jpg", productName: "United Colors of Benetton" }, { parent: "summer", image: "template/assets/x354.jpg", productName: "Puma Running Shoes" } ] }'; $d1 = json_decode($j1); echo $d1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZdsMv
function name:  (null)
number of ops:  7
compiled vars:  !0 = $j1, !1 = $d1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B+data%3A+%5B+%7B+parent%3A+%22summer%22%2C+image%3A+%22template%2Fassets%2Fx354.jpg%22%2C+productName%3A+%22United+Colors+of+Benetton%22+%7D%2C+%7B+parent%3A+%22autumn%22%2C+image%3A+%22template%2Fassets%2Fx354.jpg%22%2C+productName%3A+%22United+Colors+of+Benetton%22+%7D%2C+%7B+parent%3A+%22summer%22%2C+image%3A+%22template%2Fassets%2Fx354.jpg%22%2C+productName%3A+%22Puma+Running+Shoes%22+%7D+%5D+%7D'
    4     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    5     5        ECHO                                                     !1
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191 ms | 1394 KiB | 15 Q