3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_encode(array( 'db' => array( 'base_name' => 'BASENAME', 'table_name' => 'TABLENAME', 'col_link' => 'COLLINK', 'col_data' => 'DATACOL' ) )); echo $json;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r9vuP
function name:  (null)
number of ops:  6
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
    5     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
    3     3        ASSIGN                                                   !0, $1
   12     4        ECHO                                                     !0
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.09 ms | 1393 KiB | 15 Q