3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode(array( 'image_ul' => $image, 'brand_name' => $brand, 'ean' => $ean, 'meta_matrix' => array( 'Style name' => $label, 'Artikelnummer' => $sku, 'Size' => $size, 'Farbe' => $color, ), ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XJumi
function name:  (null)
number of ops:  13
compiled vars:  !0 = $image, !1 = $brand, !2 = $ean, !3 = $label, !4 = $sku, !5 = $size, !6 = $color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
    4     1        INIT_ARRAY                                       ~7      !0, 'image_ul'
    5     2        ADD_ARRAY_ELEMENT                                ~7      !1, 'brand_name'
    6     3        ADD_ARRAY_ELEMENT                                ~7      !2, 'ean'
    8     4        INIT_ARRAY                                       ~8      !3, 'Style+name'
    9     5        ADD_ARRAY_ELEMENT                                ~8      !4, 'Artikelnummer'
   10     6        ADD_ARRAY_ELEMENT                                ~8      !5, 'Size'
   11     7        ADD_ARRAY_ELEMENT                                ~8      !6, 'Farbe'
          8        ADD_ARRAY_ELEMENT                                ~7      ~8, 'meta_matrix'
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                         $9      
         11        ECHO                                                     $9
   13    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.16 ms | 1398 KiB | 15 Q