3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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);
Output for 4.3.0 - 7.1.0
array(2) { ["og:type"]=> string(7) "article" ["og:image"]=> string(30) "http://placekitten.com/324x234" }