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_d[0],';'); $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]." / "; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AMZ2k
function name:  (null)
number of ops:  70
compiled vars:  !0 = $str, !1 = $str_n, !2 = $str_d, !3 = $str_dc, !4 = $str_f, !5 = $str_fc
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                                      ~14     !0, 0
         10        SEND_VAL                                                 ~14
         11        SEND_VAL                                                 '%3B'
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $15     
         14        ASSIGN_DIM                                               !1, 0
         15        OP_DATA                                                  $15
   10    16        INIT_FCALL                                               'mb_strstr'
         17        FETCH_DIM_R                                      ~16     !0, 0
         18        SEND_VAL                                                 ~16
         19        SEND_VAL                                                 '%3B'
         20        DO_ICALL                                         $17     
         21        ASSIGN                                                   !3, $17
   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                                         $19     
         28        SEND_VAR                                                 $19
         29        DO_ICALL                                         $20     
         30        ASSIGN                                                   !3, $20
   12    31        INIT_FCALL                                               'mb_strstr'
         32        SEND_VAR                                                 !3
         33        SEND_VAL                                                 '%3B'
         34        SEND_VAL                                                 <true>
         35        DO_ICALL                                         $23     
         36        ASSIGN_DIM                                               !2, 0
         37        OP_DATA                                                  $23
   13    38        INIT_FCALL                                               'mb_strstr'
         39        FETCH_DIM_R                                      ~24     !2, 0
         40        SEND_VAL                                                 ~24
         41        SEND_VAL                                                 '%3B'
         42        DO_ICALL                                         $25     
         43        ASSIGN                                                   !5, $25
   14    44        INIT_FCALL                                               'substr'
         45        SEND_VAR                                                 !5
         46        SEND_VAL                                                 1
         47        INIT_FCALL                                               'mb_strlen'
         48        SEND_VAR                                                 !5
         49        DO_ICALL                                         $27     
         50        SEND_VAR                                                 $27
         51        DO_ICALL                                         $28     
         52        ASSIGN                                                   !5, $28
   15    53        INIT_FCALL                                               'mb_strstr'
         54        SEND_VAR                                                 !5
         55        SEND_VAL                                                 '%3B'
         56        SEND_VAL                                                 <true>
         57        DO_ICALL                                         $31     
         58        ASSIGN_DIM                                               !4, 0
         59        OP_DATA                                                  $31
   16    60        FETCH_DIM_R                                      ~32     !1, 0
         61        CONCAT                                           ~33     ~32, '+%2F+'
         62        ECHO                                                     ~33
   17    63        FETCH_DIM_R                                      ~34     !2, 0
         64        CONCAT                                           ~35     ~34, '+%2F+'
         65        ECHO                                                     ~35
   18    66        FETCH_DIM_R                                      ~36     !4, 0
         67        CONCAT                                           ~37     ~36, '+%2F+'
         68        ECHO                                                     ~37
   19    69      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.96 ms | 1400 KiB | 19 Q