3v4l.org

run code in 300+ PHP versions simultaneously
</div><!--/.main-inner--> </div><!--/.main--> </div><!--/.container-inner--> </div><!--/.container--> <footer id="footer"> <?php if ( ot_get_option('footer-ads') == 'on' ): ?> <section class="container" id="footer-ads"> <div class="container-inner"> <?php dynamic_sidebar( 'footer-ads' ); ?> </div><!--/.container-inner--> </section><!--/.container--> <?php endif; ?> <?php // footer widgets $total = 4; if ( ot_get_option( 'footer-widgets' ) != '' ) { $total = ot_get_option( 'footer-widgets' ); if( $total == 1) $class = 'one-full'; if( $total == 2) $class = 'one-half'; if( $total == 3) $class = 'one-third'; if( $total == 4) $class = 'one-fourth'; } if ( ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) || is_active_sidebar( 'footer-4' ) ) && $total > 0 ) { ?> <section class="container" id="footer-widgets"> <div class="container-inner"> <div class="pad group"> <?php $i = 0; while ( $i < $total ) { $i++; ?> <?php if ( is_active_sidebar( 'footer-' . $i ) ) { ?> <div class="footer-widget-<?php echo $i; ?> grid <?php echo $class; ?> <?php if ( $i == $total ) { echo 'last'; } ?>"> <?php dynamic_sidebar( 'footer-' . $i ); ?> </div> <?php } ?> <?php } ?> </div><!--/.pad--> </div><!--/.container-inner--> </section><!--/.container--> <?php } ?> <?php if ( has_nav_menu( 'footer' ) ): ?> <nav class="nav-container group" id="nav-footer"> <div class="nav-toggle"><i class="fa fa-bars"></i></div> <div class="nav-text"><!-- put your mobile menu text here --></div> <div class="nav-wrap"><?php wp_nav_menu( array('theme_location'=>'footer','menu_class'=>'nav container group','container'=>'','menu_id'=>'','fallback_cb'=>false) ); ?></div> </nav><!--/#nav-footer--> <?php endif; ?> <section class="container" id="footer-bottom"> <div class="container-inner"> <a id="back-to-top" href="#"><i class="fa fa-angle-up"></i></a> <div class="pad group"> <div class="grid one-half"> <?php if ( ot_get_option('footer-logo') ): ?> <img id="footer-logo" src="<?php echo ot_get_option('footer-logo'); ?>" alt="<?php get_bloginfo('name'); ?>"> <?php endif; ?> <div id="copyright"> <?php if ( ot_get_option( 'copyright' ) ): ?> <p><?php echo esc_attr( ot_get_option( 'copyright' ) ); ?></p> <?php else: ?> <p><?php bloginfo(); ?> &copy; <?php echo date( 'Y' ); ?>. <?php _e( 'All Rights Reserved.', 'hueman' ); ?></p> <?php endif; ?> </div><!--/#copyright--> <?php if ( ot_get_option( 'credit' ) != 'off' ): ?> <div id="credit"> <p><?php _e('Powered by','hueman'); ?> <a href="http://wordpress.org" rel="nofollow">WordPress</a>. <?php _e('Theme by','hueman'); ?> <a href="http://alxmedia.se" rel="nofollow">Alx</a>.</p> </div><!--/#credit--> <?php endif; ?> </div> <div class="grid one-half last"> <?php alx_social_links() ; ?> </div> </div><!--/.pad--> </div><!--/.container-inner--> </section><!--/.container--> </footer><!--/#footer--> </div><!--/#wrapper--> <?php wp_footer(); ?> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
</div><!--/.main-inner--> </div><!--/.main--> </div><!--/.container-inner--> </div><!--/.container--> <footer id="footer"> Fatal error: Uncaught Error: Call to undefined function ot_get_option() in /in/4IGLY:8 Stack trace: #0 {main} thrown in /in/4IGLY on line 8
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:
45.07 ms | 401 KiB | 8 Q