3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = array(); $str_n = array(); $str_d = array(); $str_dc = 0; $str_f = array(); $str_fc = 0; $str[0] = "Shockwave Flash;Shockwave Flash 13.0 r0;NPSWF32_13_0_0_214.dll;undefined(Adobe Flash movie;application/x-shockwave-flash;swf)(FutureSplash movie;application/futuresplash;spl)"; $str_n[0] = mb_strstr($str[0],';',true); $str_dc = mb_strstr($str[0],';'); $str_dc = substr($str_dc,1,mb_strlen($str_dc)); $str_d[0] = mb_strstr($str_dc,';',true); $str_fc = mb_strstr($str_dc,';'); $str_fc = substr($str_fc,1,mb_strlen($str_fc)); $str_f[0] = mb_strstr($str_fc,';',true); //echo $str_n[0]." / "; //echo $str_d[0]." / "; //echo $str_f[0]." / "; $str_nv = mb_ereg_replace('[0-9].+', '', $str_n[0]); $str_dv = mb_ereg_replace('[0-9].+', '', $str_d[0]); $str_fv = mb_ereg_replace('[0-9].+', '', $str_f[0]); $str_ndf = $str_nv.$str_dv.$str_fv; echo $str_ndf; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eZh1T
function name:  (null)
number of ops:  85
compiled vars:  !0 = $str, !1 = $str_n, !2 = $str_d, !3 = $str_dc, !4 = $str_f, !5 = $str_fc, !6 = $str_nv, !7 = $str_dv, !8 = $str_fv, !9 = $str_ndf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        ASSIGN                                                   !3, 0
    6     4        ASSIGN                                                   !4, <array>
    7     5        ASSIGN                                                   !5, 0
    8     6        ASSIGN_DIM                                               !0, 0
          7        OP_DATA                                                  'Shockwave+Flash%3BShockwave+Flash+13.0+r0%3BNPSWF32_13_0_0_214.dll%3Bundefined%28Adobe+Flash+movie%3Bapplication%2Fx-shockwave-flash%3Bswf%29%28FutureSplash+movie%3Bapplication%2Ffuturesplash%3Bspl%29'
    9     8        INIT_FCALL                                               'mb_strstr'
          9        FETCH_DIM_R                                      ~18     !0, 0
         10        SEND_VAL                                                 ~18
         11        SEND_VAL                                                 '%3B'
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $19     
         14        ASSIGN_DIM                                               !1, 0
         15        OP_DATA                                                  $19
   10    16        INIT_FCALL                                               'mb_strstr'
         17        FETCH_DIM_R                                      ~20     !0, 0
         18        SEND_VAL                                                 ~20
         19        SEND_VAL                                                 '%3B'
         20        DO_ICALL                                         $21     
         21        ASSIGN                                                   !3, $21
   11    22        INIT_FCALL                                               'substr'
         23        SEND_VAR                                                 !3
         24        SEND_VAL                                                 1
         25        INIT_FCALL                                               'mb_strlen'
         26        SEND_VAR                                                 !3
         27        DO_ICALL                                         $23     
         28        SEND_VAR                                                 $23
         29        DO_ICALL                                         $24     
         30        ASSIGN                                                   !3, $24
   12    31        INIT_FCALL                                               'mb_strstr'
         32        SEND_VAR                                                 !3
         33        SEND_VAL                                                 '%3B'
         34        SEND_VAL                                                 <true>
         35        DO_ICALL                                         $27     
         36        ASSIGN_DIM                                               !2, 0
         37        OP_DATA                                                  $27
   13    38        INIT_FCALL                                               'mb_strstr'
         39        SEND_VAR                                                 !3
         40        SEND_VAL                                                 '%3B'
         41        DO_ICALL                                         $28     
         42        ASSIGN                                                   !5, $28
   14    43        INIT_FCALL                                               'substr'
         44        SEND_VAR                                                 !5
         45        SEND_VAL                                                 1
         46        INIT_FCALL                                               'mb_strlen'
         47        SEND_VAR                                                 !5
         48        DO_ICALL                                         $30     
         49        SEND_VAR                                                 $30
         50        DO_ICALL                                         $31     
         51        ASSIGN                                                   !5, $31
   15    52        INIT_FCALL                                               'mb_strstr'
         53        SEND_VAR                                                 !5
         54        SEND_VAL                                                 '%3B'
         55        SEND_VAL                                                 <true>
         56        DO_ICALL                                         $34     
         57        ASSIGN_DIM                                               !4, 0
         58        OP_DATA                                                  $34
   19    59        INIT_FCALL                                               'mb_ereg_replace'
         60        SEND_VAL                                                 '%5B0-9%5D.%2B'
         61        SEND_VAL                                                 ''
         62        FETCH_DIM_R                                      ~35     !1, 0
         63        SEND_VAL                                                 ~35
         64        DO_ICALL                                         $36     
         65        ASSIGN                                                   !6, $36
   20    66        INIT_FCALL                                               'mb_ereg_replace'
         67        SEND_VAL                                                 '%5B0-9%5D.%2B'
         68        SEND_VAL                                                 ''
         69        FETCH_DIM_R                                      ~38     !2, 0
         70        SEND_VAL                                                 ~38
         71        DO_ICALL                                         $39     
         72        ASSIGN                                                   !7, $39
   21    73        INIT_FCALL                                               'mb_ereg_replace'
         74        SEND_VAL                                                 '%5B0-9%5D.%2B'
         75        SEND_VAL                                                 ''
         76        FETCH_DIM_R                                      ~41     !4, 0
         77        SEND_VAL                                                 ~41
         78        DO_ICALL                                         $42     
         79        ASSIGN                                                   !8, $42
   22    80        CONCAT                                           ~44     !6, !7
         81        CONCAT                                           ~45     ~44, !8
         82        ASSIGN                                                   !9, ~45
   23    83        ECHO                                                     !9
   24    84      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.32 ms | 1400 KiB | 21 Q