3v4l.org

run code in 500+ PHP versions simultaneously
<?php $j1 = '[{ "id":"1", "texto":"Vamos newells 17471934", "fecha":"2019-06-24 12:09:12", "categoria":"1", "idpayment":"Reference_1561388952", "provincia":"1", "estado":"NO", "email":"newells@gmail.com" }]'; $j2 = '{ "Texto": " VENDO O PERMUTO", "imageJob": { "pathConvertido": "ClasificadosPNG/0011311247.png", "convertido": true, "id": 5011 }, "rubroClasificado": { "CodigoRubro": 150, "id": 76 } }'; $j1 = json_decode($j1, true); $j2 = json_decode($j2, true); $j1[] = $j2; var_dump(json_encode($j1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1HGNF
function name:  (null)
number of ops:  21
compiled vars:  !0 = $j1, !1 = $j2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%5B%7B%0A++++%22id%22%3A%221%22%2C%0A++++%22texto%22%3A%22Vamos+newells+17471934%22%2C%0A++++%22fecha%22%3A%222019-06-24+12%3A09%3A12%22%2C%0A++++%22categoria%22%3A%221%22%2C%0A++++%22idpayment%22%3A%22Reference_1561388952%22%2C%0A++++%22provincia%22%3A%221%22%2C%0A++++%22estado%22%3A%22NO%22%2C%0A++++%22email%22%3A%22newells%40gmail.com%22%0A%7D%5D'
   13     1        ASSIGN                                                       !1, '%7B%0A++++%22Texto%22%3A+%22+VENDO+O+PERMUTO%22%2C%0A++++%22imageJob%22%3A+%7B%0A++++++++%22pathConvertido%22%3A+%22ClasificadosPNG%2F0011311247.png%22%2C%0A++++++++%22convertido%22%3A+true%2C%0A++++++++%22id%22%3A+5011%0A++++%7D%2C%0A++++%22rubroClasificado%22%3A+%7B%0A++++++++%22CodigoRubro%22%3A+150%2C%0A++++++++%22id%22%3A+76%0A++++%7D%0A%7D'
   25     2        INIT_FCALL                                                   'json_decode'
          3        SEND_VAR                                                     !0
          4        SEND_VAL                                                     <true>
          5        DO_ICALL                                             $4      
          6        ASSIGN                                                       !0, $4
   26     7        INIT_FCALL                                                   'json_decode'
          8        SEND_VAR                                                     !1
          9        SEND_VAL                                                     <true>
         10        DO_ICALL                                             $6      
         11        ASSIGN                                                       !1, $6
   27    12        ASSIGN_DIM                                                   !0
         13        OP_DATA                                                      !1
   28    14        INIT_FCALL                                                   'var_dump'
         15        INIT_FCALL                                                   'json_encode'
         16        SEND_VAR                                                     !0
         17        DO_ICALL                                             $9      
         18        SEND_VAR                                                     $9
         19        DO_ICALL                                                     
         20      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
151.42 ms | 2195 KiB | 16 Q