3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stxt = "По словам вице-премьера Крыма, единственными законными вооруженными формированиями на территории Крыма являются российские вооруженные силы."; $keywords = ''; $keywords = explode(',',$keywords); $other_text = "...<br> #Новости_0629"; foreach ($keywords as $value) { $other_text.= !empty($value) ? " #" . trim($value) : ''; } $other_text .= "<br> Подробнее: http://www.0629.com.ua/news/489813"; $description_text_lenght = 220 - strlen($other_text); $full_text = mb_substr($stxt, 0, $description_text_lenght) . $other_text; if(!empty($item['icon_photo'])){ $full_text .="<br> <img src='http://s.citysites.ua/section/newsIcon/upload/images/news/icon/93917261-8562-kryim_13941132274.jpg'/><br>"; } var_dump($full_text);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 22
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 22
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 38
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 38
Branch analysis from position: 22
filename:       /in/jDiSE
function name:  (null)
number of ops:  42
compiled vars:  !0 = $stxt, !1 = $keywords, !2 = $other_text, !3 = $value, !4 = $description_text_lenght, !5 = $full_text, !6 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%D0%9F%D0%BE+%D1%81%D0%BB%D0%BE%D0%B2%D0%B0%D0%BC+%D0%B2%D0%B8%D1%86%D0%B5-%D0%BF%D1%80%D0%B5%D0%BC%D1%8C%D0%B5%D1%80%D0%B0+%D0%9A%D1%80%D1%8B%D0%BC%D0%B0%2C+%D0%B5%D0%B4%D0%B8%D0%BD%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D1%8B%D0%BC%D0%B8+%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD%D0%BD%D1%8B%D0%BC%D0%B8+%D0%B2%D0%BE%D0%BE%D1%80%D1%83%D0%B6%D0%B5%D0%BD%D0%BD%D1%8B%D0%BC%D0%B8+%D1%84%D0%BE%D1%80%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F%D0%BC%D0%B8+%D0%BD%D0%B0+%D1%82%D0%B5%D1%80%D1%80%D0%B8%D1%82%D0%BE%D1%80%D0%B8%D0%B8+%D0%9A%D1%80%D1%8B%D0%BC%D0%B0+%D1%8F%D0%B2%D0%BB%D1%8F%D1%8E%D1%82%D1%81%D1%8F+%D1%80%D0%BE%D1%81%D1%81%D0%B8%D0%B9%D1%81%D0%BA%D0%B8%D0%B5+%D0%B2%D0%BE%D0%BE%D1%80%D1%83%D0%B6%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5+%D1%81%D0%B8%D0%BB%D1%8B.'
    3     1        ASSIGN                                                   !1, ''
    4     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $9      
          6        ASSIGN                                                   !1, $9
    6     7        ASSIGN                                                   !2, '...%3Cbr%3E+%23%D0%9D%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8_0629'
    8     8      > FE_RESET_R                                       $12     !1, ->22
          9    > > FE_FETCH_R                                               $12, !3, ->22
    9    10    >   ISSET_ISEMPTY_CV                                 ~13     !3
         11        BOOL_NOT                                         ~14     ~13
         12      > JMPZ                                                     ~14, ->19
         13    >   INIT_FCALL                                               'trim'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                         $15     
         16        CONCAT                                           ~16     '+%23', $15
         17        QM_ASSIGN                                        ~17     ~16
         18      > JMP                                                      ->20
         19    >   QM_ASSIGN                                        ~17     ''
         20    >   ASSIGN_OP                                     8          !2, ~17
    8    21      > JMP                                                      ->9
         22    >   FE_FREE                                                  $12
   12    23        ASSIGN_OP                                     8          !2, '%3Cbr%3E+%D0%9F%D0%BE%D0%B4%D1%80%D0%BE%D0%B1%D0%BD%D0%B5%D0%B5%3A+http%3A%2F%2Fwww.0629.com.ua%2Fnews%2F489813'
   14    24        STRLEN                                           ~20     !2
         25        SUB                                              ~21     220, ~20
         26        ASSIGN                                                   !4, ~21
   16    27        INIT_FCALL                                               'mb_substr'
         28        SEND_VAR                                                 !0
         29        SEND_VAL                                                 0
         30        SEND_VAR                                                 !4
         31        DO_ICALL                                         $23     
         32        CONCAT                                           ~24     $23, !2
         33        ASSIGN                                                   !5, ~24
   18    34        ISSET_ISEMPTY_DIM_OBJ                         1  ~26     !6, 'icon_photo'
         35        BOOL_NOT                                         ~27     ~26
         36      > JMPZ                                                     ~27, ->38
   19    37    >   ASSIGN_OP                                     8          !5, '%3Cbr%3E+%3Cimg+src%3D%27http%3A%2F%2Fs.citysites.ua%2Fsection%2FnewsIcon%2Fupload%2Fimages%2Fnews%2Ficon%2F93917261-8562-kryim_13941132274.jpg%27%2F%3E%3Cbr%3E'
   22    38    >   INIT_FCALL                                               'var_dump'
         39        SEND_VAR                                                 !5
         40        DO_ICALL                                                 
         41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.44 ms | 1400 KiB | 21 Q