3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'Améliorer <span style="color:black;">mon authentification</span>'; echo preg_replace('/(<[^>]*\sstyle=)"([^>]+)"([^>]*>)/', '\1\"\2\"\3', $data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3n92K
function name:  (null)
number of ops:  8
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Am%C3%A9liorer+%3Cspan+style%3D%22color%3Ablack%3B%22%3Emon+authentification%3C%2Fspan%3E'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%28%3C%5B%5E%3E%5D%2A%5Csstyle%3D%29%22%28%5B%5E%3E%5D%2B%29%22%28%5B%5E%3E%5D%2A%3E%29%2F'
          3        SEND_VAL                                                 '%5C1%5C%22%5C2%5C%22%5C3'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.44 ms | 1008 KiB | 14 Q