3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr['database'] = array( "folder" => "database", "file" => "project.sql" ); $arr['assets'] = array( "folder" => "assets", "dir" => array( "js" => "js", "css" => "css", "upload" => "upload" ) ); $arr['general'] = array( "folder" => "database", "file" => "general.json" ); echo json_encode($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Auqd9
function name:  (null)
number of ops:  11
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'database'
    4     1        OP_DATA                                                  <array>
    7     2        ASSIGN_DIM                                               !0, 'assets'
    8     3        OP_DATA                                                  <array>
   15     4        ASSIGN_DIM                                               !0, 'general'
   16     5        OP_DATA                                                  <array>
   19     6        INIT_FCALL                                               'json_encode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.29 ms | 1394 KiB | 15 Q