3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Unsupported operand types in /in/R6i7p:8 Stack trace: #0 {main} thrown in /in/R6i7p on line 8
Process exited with code 255.
Output for 5.2.3 - 5.6.28
Fatal error: Unsupported operand types in /in/R6i7p on line 8
Process exited with code 255.
Output for 4.3.2 - 5.2.2
<br /> <b>Fatal error</b>: Unsupported operand types in <b>/in/R6i7p</b> on line <b>8</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Unsupported operand types in <b>/in/R6i7p</b> on line <b>8</b><br />