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]." / "; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q1iYX
function name:  (null)
number of ops:  69
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        SEND_VAR                                                 !3
         40        SEND_VAL                                                 '%3B'
         41        DO_ICALL                                         $24     
         42        ASSIGN                                                   !5, $24
   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                                         $26     
         49        SEND_VAR                                                 $26
         50        DO_ICALL                                         $27     
         51        ASSIGN                                                   !5, $27
   15    52        INIT_FCALL                                               'mb_strstr'
         53        SEND_VAR                                                 !5
         54        SEND_VAL                                                 '%3B'
         55        SEND_VAL                                                 <true>
         56        DO_ICALL                                         $30     
         57        ASSIGN_DIM                                               !4, 0
         58        OP_DATA                                                  $30
   16    59        FETCH_DIM_R                                      ~31     !1, 0
         60        CONCAT                                           ~32     ~31, '+%2F+'
         61        ECHO                                                     ~32
   17    62        FETCH_DIM_R                                      ~33     !2, 0
         63        CONCAT                                           ~34     ~33, '+%2F+'
         64        ECHO                                                     ~34
   18    65        FETCH_DIM_R                                      ~35     !4, 0
         66        CONCAT                                           ~36     ~35, '+%2F+'
         67        ECHO                                                     ~36
   19    68      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.4 ms | 1392 KiB | 19 Q