3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Positive numbers: $res5[0][0]="tag1,tag10,tag11,tag13,tag15,tag17,tag19,tag20,tag4,tag9,tag8,tag7,tag6,tag5,tag3,tag2,tag18,tag16,tag14,tag12"; if (strpos($res5[0][0], 'tag') !== false) { $str1=substr($res5[0][0],0,3); $str2=preg_replace("/tag/","",substr($res5[0][0],3)); $html="<td style='word-wrap: break-word; word-break:break-all;'>".$str1.$str2."</td>"; echo $html; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 36
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 36
filename:       /in/nBL7I
function name:  (null)
number of ops:  37
compiled vars:  !0 = $res5, !1 = $str1, !2 = $str2, !3 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $4      !0, 0
          1        ASSIGN_DIM                                               $4, 0
          2        OP_DATA                                                  'tag1%2Ctag10%2Ctag11%2Ctag13%2Ctag15%2Ctag17%2Ctag19%2Ctag20%2Ctag4%2Ctag9%2Ctag8%2Ctag7%2Ctag6%2Ctag5%2Ctag3%2Ctag2%2Ctag18%2Ctag16%2Ctag14%2Ctag12'
    5     3        INIT_FCALL                                               'strpos'
          4        FETCH_DIM_R                                      ~6      !0, 0
          5        FETCH_DIM_R                                      ~7      ~6, 0
          6        SEND_VAL                                                 ~7
          7        SEND_VAL                                                 'tag'
          8        DO_ICALL                                         $8      
          9        TYPE_CHECK                                  1018          $8
         10      > JMPZ                                                     ~9, ->36
    7    11    >   INIT_FCALL                                               'substr'
         12        FETCH_DIM_R                                      ~10     !0, 0
         13        FETCH_DIM_R                                      ~11     ~10, 0
         14        SEND_VAL                                                 ~11
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 3
         17        DO_ICALL                                         $12     
         18        ASSIGN                                                   !1, $12
    8    19        INIT_FCALL                                               'preg_replace'
         20        SEND_VAL                                                 '%2Ftag%2F'
         21        SEND_VAL                                                 ''
         22        INIT_FCALL                                               'substr'
         23        FETCH_DIM_R                                      ~14     !0, 0
         24        FETCH_DIM_R                                      ~15     ~14, 0
         25        SEND_VAL                                                 ~15
         26        SEND_VAL                                                 3
         27        DO_ICALL                                         $16     
         28        SEND_VAR                                                 $16
         29        DO_ICALL                                         $17     
         30        ASSIGN                                                   !2, $17
    9    31        CONCAT                                           ~19     '%3Ctd+style%3D%27word-wrap%3A+break-word%3B+word-break%3Abreak-all%3B%27%3E', !1
         32        CONCAT                                           ~20     ~19, !2
         33        CONCAT                                           ~21     ~20, '%3C%2Ftd%3E'
         34        ASSIGN                                                   !3, ~21
   10    35        ECHO                                                     !3
   12    36    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.1 ms | 1396 KiB | 19 Q