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 = 11
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/R6i7p
function name:  (null)
number of ops:  15
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, ->11
    8     7    >   FETCH_CONSTANT                                   ~4      'OG_SITE_NAME'
          8        INIT_ARRAY                                       ~5      ~4, 'og%3Asite_name'
          9        MUL                                              ~6      ~5, 1
         10        ASSIGN                                                   !0, ~6
   11    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.66 ms | 1394 KiB | 17 Q