3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rss = simplexml_load_file('http://on-ze.com/feed'); echo '<ul>'; foreach($rss->channel->item as $item){ $title = $item->title; $date = date("Y年 n月 j日", strtotime($item->pubDate)); $link = $item->link; $description = mb_strimwidth (strip_tags($item->description), 0 , 110, "…Read More", "utf-8"); ?> <li><a href="<?php echo $link; ?>" target="_blank"> <span class="date"><?php echo $date; ?></span> <span class="title"><?php echo $title; ?></span> <span class="text"><?php echo $description; ?></span> </a></li> <?php } echo '</ul>'; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 44
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 44
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 44
filename:       /in/7uoS8
function name:  (null)
number of ops:  47
compiled vars:  !0 = $rss, !1 = $item, !2 = $title, !3 = $date, !4 = $link, !5 = $description
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'simplexml_load_file'
          1        SEND_VAL                                                 'http%3A%2F%2Fon-ze.com%2Ffeed'
          2        DO_ICALL                                         $6      
          3        ASSIGN                                                   !0, $6
    3     4        ECHO                                                     '%3Cul%3E'
    4     5        FETCH_OBJ_R                                      ~8      !0, 'channel'
          6        FETCH_OBJ_R                                      ~9      ~8, 'item'
          7      > FE_RESET_R                                       $10     ~9, ->44
          8    > > FE_FETCH_R                                               $10, !1, ->44
    5     9    >   FETCH_OBJ_R                                      ~11     !1, 'title'
         10        ASSIGN                                                   !2, ~11
    6    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'Y%E5%B9%B4+n%E6%9C%88+j%E6%97%A5'
         13        INIT_FCALL                                               'strtotime'
         14        FETCH_OBJ_R                                      ~13     !1, 'pubDate'
         15        SEND_VAL                                                 ~13
         16        DO_ICALL                                         $14     
         17        SEND_VAR                                                 $14
         18        DO_ICALL                                         $15     
         19        ASSIGN                                                   !3, $15
    7    20        FETCH_OBJ_R                                      ~17     !1, 'link'
         21        ASSIGN                                                   !4, ~17
    8    22        INIT_FCALL                                               'mb_strimwidth'
         23        INIT_FCALL                                               'strip_tags'
         24        FETCH_OBJ_R                                      ~19     !1, 'description'
         25        SEND_VAL                                                 ~19
         26        DO_ICALL                                         $20     
         27        SEND_VAR                                                 $20
         28        SEND_VAL                                                 0
         29        SEND_VAL                                                 110
         30        SEND_VAL                                                 '%E2%80%A6Read+More'
         31        SEND_VAL                                                 'utf-8'
         32        DO_ICALL                                         $21     
         33        ASSIGN                                                   !5, $21
   10    34        ECHO                                                     '%09%3Cli%3E%3Ca+href%3D%22'
         35        ECHO                                                     !4
         36        ECHO                                                     '%22+target%3D%22_blank%22%3E%0A%09%3Cspan+class%3D%22date%22%3E'
   11    37        ECHO                                                     !3
         38        ECHO                                                     '%3C%2Fspan%3E%0A%09%3Cspan+class%3D%22title%22%3E'
   12    39        ECHO                                                     !2
         40        ECHO                                                     '%3C%2Fspan%3E%0A%09%3Cspan+class%3D%22text%22%3E'
   13    41        ECHO                                                     !5
         42        ECHO                                                     '%3C%2Fspan%3E%0A%09%3C%2Fa%3E%3C%2Fli%3E%0A'
    4    43      > JMP                                                      ->8
         44    >   FE_FREE                                                  $10
   15    45        ECHO                                                     '%3C%2Ful%3E'
         46      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.95 ms | 1404 KiB | 23 Q