- var_dump: documentation ( source)
<?php
$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);