3v4l.org

run code in 300+ PHP versions simultaneously
<?php class td_module_mega_menu extends td_module { function __construct($post) { //run the parrent constructor parent::__construct($post); } function render() { ob_start(); ?> <div class="td_mod_mega_menu"> <?php echo $this->get_image('art-big-1col');?> <div class="item-details"> <?php echo $this->get_title(td_util::get_option('tds_mod3_title_excerpt'));?> </div> </div> <?php return ob_get_clean(); } function get_title($excerpt_lenght = '') { $buffy = ''; $buffy .= '<h4 itemprop="name" class="entry-title">'; $buffy .='<a itemprop="url" href="' . $this->href . '" rel="bookmark" title="' . $this->title_attribute . '">'; if (!empty($excerpt_lenght)) { $buffy .= td_util::excerpt($this->title, $excerpt_lenght, 'show_shortcodes'); } else { $buffy .= $this->title; } $buffy .='</a>'; $buffy .= '</h4>'; return $buffy; } }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "td_module" not found in /in/SQhKl:3 Stack trace: #0 {main} thrown in /in/SQhKl on line 3
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:
39.15 ms | 401 KiB | 8 Q