3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // bloginfo() implementation just for demo purposes: function bloginfo($d) { return ("$d: some brief description ..."); } $blogname = get_bloginfo('name'); if ($blogname == 'Wobbling Willy') { echo '<meta name="description" content=" ?> <?php echo bloginfo('description'); ?> <?php" />'."\n"; echo '<meta name="keywords" content=”keyword1, keyword2, keyword3” />'."\n"; } ?>
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Parse error: syntax error, unexpected 'description' (T_STRING), expecting ',' or ';' in /in/alSTJ on line 13
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/alSTJ:13 Stack trace: #0 {main}
Process exited with code 255.