3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // bloginfo() implementation just for demo purposes: function get_bloginfo($d) { return ("$d: some brief description ..."); } $blogname = get_bloginfo('name'); if ($blogname == 'Wobbling Willy') { echo '<meta name="description" content="'; ?> <?php echo bloginfo('description'),'"/>',"\n"; ?> <?php echo '<meta name="keywords" content=”keyword1, keyword2, keyword3” />'."\n"; } ?>
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0