3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'bla bla </container> e <container style="autore"> bla bla bla'; $value = preg_replace('#([a-z]+)<container style="autore">#', '\1', $string); echo $value;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HB54V
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'bla+bla%0A%3C%2Fcontainer%3E%0Ae%0A%3Ccontainer+style%3D%22autore%22%3E%0Abla%0Abla%0Abla'
   11     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%28%5Ba-z%5D%2B%29%3Ccontainer+style%3D%22autore%22%3E%23'
          3        SEND_VAL                                                 '%5C1'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
   13     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.97 ms | 1385 KiB | 15 Q