3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <main id="main"> * * @package GeneratePress */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <?php if ( ! function_exists( '_wp_render_title_tag' ) ) : ?> <title><?php wp_title( '|', true, 'right' ); ?></title> <?php endif; ?> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_head(); ?> <meta name="yandex-verification" content="61956597e0847b6d" /> <meta name="google-site-verification" content="cYRgqSXnw-g3IhaiDBLKpNVTwJjcbFY8TdfBb1Jp3vc" /> </head> <body <?php generate_body_schema();?> <?php body_class(); ?>> <?php do_action( 'generate_before_header' ); ?> <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'generate' ); ?>"><?php _e( 'Skip to content', 'generate' ); ?></a> <header itemtype="http://schema.org/WPHeader" itemscope="itemscope" id="masthead" <?php generate_header_class(); ?>> <div <?php generate_inside_header_class(); ?>> <?php do_action( 'generate_before_header_content'); ?> <?php generate_header_items(); ?> <?php do_action( 'generate_after_header_content'); ?> </div><!-- .inside-header --> </header><!-- #masthead --> <?php do_action( 'generate_after_header' ); ?> <div id="page" class="hfeed site grid-container container grid-parent"> <div id="content" class="site-content"> <?php do_action('generate_inside_container'); ?>
Output for 7.0.0 - 7.3.0beta1
<!DOCTYPE html> <html Fatal error: Uncaught Error: Call to undefined function language_attributes() in /in/JRgch:10 Stack trace: #0 {main} thrown in /in/JRgch on line 10
Process exited with code 255.
Output for hhvm-3.15.4
<!DOCTYPE html> <html Fatal error: Uncaught Error: Call to undefined function language_attributes() in /in/JRgch:10 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
<!DOCTYPE html> <html Fatal error: Call to undefined function language_attributes() in /in/JRgch on line 10
Process exited with code 255.