3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlFile = "<ss:Data ss:Type=\"String\" xmlns=\"http://www.w3.org/TR/REC-html40\">"; $pattern = '/ss:Data ss:Type="String"/'; $xmlFile = preg_replace($pattern, '<ss:Data ss:Type="String">', $xmlFile); var_dump($xmlFile);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7JNu0
function name:  (null)
number of ops:  12
compiled vars:  !0 = $xmlFile, !1 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Css%3AData+ss%3AType%3D%22String%22%0A++++++xmlns%3D%22http%3A%2F%2Fwww.w3.org%2FTR%2FREC-html40%22%3E'
    4     1        ASSIGN                                                   !1, '%2Fss%3AData+ss%3AType%3D%22String%22%2F'
    5     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 '%3Css%3AData+ss%3AType%3D%22String%22%3E'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.96 ms | 1394 KiB | 17 Q