3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (is_user_logged_in()) : ?> <!-- モバイル用の人気記事 --> <?php if ( function_exists('wp_is_mobile') && wp_is_mobile() ) :?> <?php query_posts('orderby=comment_count&order=DESC'); ?> <ul> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li style="height:120px; float:left; overflow:hidden;"> <span style="width:90px; display:block; padding:5px; font-size:12px; line-height: 130%;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span> </li> </ul> <?php endif; ?> <!-- モバイル用の人気記事END --> <?php endif; ?>
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /in/QGX2J on line 12
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.28
Parse error: syntax error, unexpected T_ENDIF in /in/QGX2J on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ENDIF in /in/QGX2J on line 12
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/QGX2J on line 12
Process exited with code 255.