3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_encode( array( 'db_name' => 'name', 'table_name' => 'tname', 'link_col' => 'colname', 'prod_name_col' => 'pname') ); echo $json . "\n"; $array = json_decode($json, true); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BilBk
function name:  (null)
number of ops:  15
compiled vars:  !0 = $json, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
    5     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $2      
    3     3        ASSIGN                                                   !0, $2
   11     4        CONCAT                                           ~4      !0, '%0A'
          5        ECHO                                                     ~4
   13     6        INIT_FCALL                                               'json_decode'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
   15    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.11 ms | 1394 KiB | 19 Q