3v4l.org

run code in 300+ PHP versions simultaneously
<?php $args=array( 'post_type' => 'portfolio', 'orderby' => 'title', 'order' => 'ASC', 'posts_per_page'=>-1, 'portfolio-category' => 'indie', 'ignore_sticky_posts'=>1 ); $the_query = new WP_Query($args); foreach(new WP_Query_Columns($the_query, 15) as $column_count) : ?> <ul> <?php while ($column_count--) : $the_query->the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul> <?php endforeach; ?> <?php wp_reset_query(); // Restore global post data stomped by the_post(). ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 29
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 29
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 13
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 13
Branch analysis from position: 27
Branch analysis from position: 13
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename:       /in/hWrua
function name:  (null)
number of ops:  34
compiled vars:  !0 = $args, !1 = $the_query, !2 = $column_count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   14     1        NEW                                              $4      'WP_Query'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
   15     5        NEW                                              $7      'WP_Query_Columns'
          6        SEND_VAR_EX                                              !1
          7        SEND_VAL_EX                                              15
          8        DO_FCALL                                      0          
          9      > FE_RESET_R                                       $9      $7, ->29
         10    > > FE_FETCH_R                                               $9, !2, ->29
   16    11    >   ECHO                                                     '+%0A++++%3Cul%3E%0A++++++++'
   18    12      > JMP                                                      ->25
         13    >   INIT_METHOD_CALL                                         !1, 'the_post'
         14        DO_FCALL                                      0          
   19    15        ECHO                                                     '++++++++%3Cli%3E%3Ca+href%3D%22'
         16        INIT_FCALL_BY_NAME                                       'the_permalink'
         17        DO_FCALL                                      0          
         18        ECHO                                                     '%22+rel%3D%22bookmark%22+title%3D%22Permanent+Link+to+'
         19        INIT_FCALL_BY_NAME                                       'the_title_attribute'
         20        DO_FCALL                                      0          
         21        ECHO                                                     '%22%3E'
         22        INIT_FCALL_BY_NAME                                       'the_title'
         23        DO_FCALL                                      0          
         24        ECHO                                                     '%3C%2Fa%3E%3C%2Fli%3E%0A++++++++'
   18    25    >   POST_DEC                                         ~14     !2
         26      > JMPNZ                                                    ~14, ->13
   21    27    >   ECHO                                                     '++++%3C%2Ful%3E%0A'
   15    28      > JMP                                                      ->10
         29    >   FE_FREE                                                  $9
   22    30        ECHO                                                     '+%0A%0A'
   24    31        INIT_FCALL_BY_NAME                                       'wp_reset_query'
         32        DO_FCALL                                      0          
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.26 ms | 1395 KiB | 13 Q