3v4l.org

run code in 300+ PHP versions simultaneously
<?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 5.3.0 - 5.3.21, 5.4.0 - 5.4.11
Parse error: syntax error, unexpected '}' in /in/pTtI3 on line 7
Process exited with code 255.

preferences:
183.4 ms | 1395 KiB | 41 Q