3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = array(); $str_n = array(); $str_d = array(); $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_d[0] = mb_strstr($str[0],';'); $str_d[0] = substr($str_d[0],1,mb_strlen($str_d[0])); echo $str_n[0]." "; echo $str_d[0]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fGDsX
function name:  (null)
number of ops:  38
compiled vars:  !0 = $str, !1 = $str_n, !2 = $str_d
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_DIM                                               !0, 0
          4        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'
    6     5        INIT_FCALL                                               'mb_strstr'
          6        FETCH_DIM_R                                      ~8      !0, 0
          7        SEND_VAL                                                 ~8
          8        SEND_VAL                                                 '%3B'
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $9      
         11        ASSIGN_DIM                                               !1, 0
         12        OP_DATA                                                  $9
    7    13        INIT_FCALL                                               'mb_strstr'
         14        FETCH_DIM_R                                      ~11     !0, 0
         15        SEND_VAL                                                 ~11
         16        SEND_VAL                                                 '%3B'
         17        DO_ICALL                                         $12     
         18        ASSIGN_DIM                                               !2, 0
         19        OP_DATA                                                  $12
    8    20        INIT_FCALL                                               'substr'
         21        FETCH_DIM_R                                      ~14     !2, 0
         22        SEND_VAL                                                 ~14
         23        SEND_VAL                                                 1
         24        INIT_FCALL                                               'mb_strlen'
         25        FETCH_DIM_R                                      ~15     !2, 0
         26        SEND_VAL                                                 ~15
         27        DO_ICALL                                         $16     
         28        SEND_VAR                                                 $16
         29        DO_ICALL                                         $17     
         30        ASSIGN_DIM                                               !2, 0
         31        OP_DATA                                                  $17
    9    32        FETCH_DIM_R                                      ~18     !1, 0
         33        CONCAT                                           ~19     ~18, '++'
         34        ECHO                                                     ~19
   10    35        FETCH_DIM_R                                      ~20     !2, 0
         36        ECHO                                                     ~20
   11    37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.89 ms | 1396 KiB | 19 Q