3v4l.org

run code in 300+ PHP versions simultaneously
<?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' ); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function add_action() in /in/XYXRd:11 Stack trace: #0 {main} thrown in /in/XYXRd on line 11
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.02 ms | 401 KiB | 8 Q