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 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
</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.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
</div><!--/.main-inner--> </div><!--/.main--> </div><!--/.container-inner--> </div><!--/.container--> <footer id="footer"> Fatal error: Call to undefined function ot_get_option() in /in/4IGLY on line 8
Process exited with code 255.

preferences:
293.48 ms | 402 KiB | 330 Q