3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function wpt_theme_styles() { wp_enqueue_style('foundation_css', get_template_directory_uri().'css/foundation.css'); wp_enqueue_style('normalize_css', get_template_directory_uri().'css/normalize.css'); wp_enqueue_style('normalize_css','http://fonts.googleapis.com/css?family=Asap:400,700,400italic,700italic'); wp_enqueue_style('main_css', get_template_directory_uri().'style.css'); } add_action( 'wp_enqueue_styles', 'wpt_theme_styles' ); ?>
based on 3Pbhg
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function add_action() in /in/aBH7j:11 Stack trace: #0 {main} thrown in /in/aBH7j on line 11
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function add_action() in /in/aBH7j on line 11
Process exited with code 255.