3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("DB", [ "DB_HOST_NAME" => "localhost", "DB_USER_NAME" => "root", "DB_PASSWORD" => "password", "DB_DATABASE" => "db_example" ]); prin_r(DB);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PCCah
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'DB'
    3     2        SEND_VAL                                                 <array>
          3        DO_ICALL                                                 
    9     4        INIT_FCALL_BY_NAME                                       'prin_r'
          5        FETCH_CONSTANT                                   ~1      'DB'
          6        SEND_VAL_EX                                              ~1
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.78 ms | 1393 KiB | 15 Q