3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Testing (3WIR)"; $stringToArray = explode(":",str_replace("(",":(",$string)); echo '<pre>'; print_r($stringToArray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5HuOP
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string, !1 = $stringToArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Testing+%283WIR%29'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3A'
          3        INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 '%28'
          5        SEND_VAL                                                 '%3A%28'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    4    11        ECHO                                                     '%3Cpre%3E'
    5    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.81 ms | 1385 KiB | 19 Q