3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('OG_SITE_NAME', 'Holaciudad.com'); $arrOpenGraphTags = array( 'og:type' => 'article', 'og:image' => 'http://placekitten.com/324x234'); if (defined('OG_SITE_NAME')) { $arrOpenGraphTags += array('og:site_name' => OG_SITE_NAME); } var_dump($arrOpenGraphTags);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/EEQq4
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arrOpenGraphTags
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'OG_SITE_NAME'
          2        SEND_VAL                                                 'Holaciudad.com'
          3        DO_ICALL                                                 
    4     4        ASSIGN                                                   !0, <array>
    7     5        DEFINED                                                  'OG_SITE_NAME'
          6      > JMPZ                                                     ~3, ->10
    8     7    >   FETCH_CONSTANT                                   ~4      'OG_SITE_NAME'
          8        INIT_ARRAY                                       ~5      ~4, 'og%3Asite_name'
          9        ASSIGN_OP                                     1          !0, ~5
   11    10    >   INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.22 ms | 1394 KiB | 17 Q