3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php /* Handystore child functions. */ function child_theme_enqueue_styles() { wp_enqueue_style('parent-style', get_template_directory_uri().'/style.css'); wp_enqueue_style('parent-style-woo', get_template_directory_uri().'/woo-styles.css'); wp_enqueue_style('child-style', get_stylesheet_directory_uri().'/style.css'); } add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_styles' ); /*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/ // BEGIN ENQUEUE PARENT ACTION // AUTO GENERATED - Do not modify or remove comment markers above or below: // END ENQUEUE PARENT ACTION register_sidebar( array( 'name' => __( 'Special Wall Page Sidebar', 'plumtree' ), 'id' => 'wall-special-sidebar', 'description' => __( 'Located at the bottom of the page (appears only when using Front Page Template)', 'plumtree' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s col-xs-12 col-sm-6 col-md-3 lazyload" data-expand="-100" >', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title" itemprop="name">', 'after_title' => '</h3>', ) ); ?>
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function add_action() in /in/l8QTA:10 Stack trace: #0 {main} thrown in /in/l8QTA on line 10
Process exited with code 255.
Output for hhvm-3.12.14 - 3.17.3
Fatal error: Uncaught Error: Call to undefined function add_action() in /in/l8QTA:10 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function add_action() in /in/l8QTA on line 10
Process exited with code 255.