3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<button @click="test()">ÁÈ</button>'; $html = preg_replace('/@([a-z]+)\=/i', '$1=', $html); echo $html;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eBfVs
function name:  (null)
number of ops:  9
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cbutton+%40click%3D%22test%28%29%22%3E%C3%81%C3%88%3C%2Fbutton%3E'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%40%28%5Ba-z%5D%2B%29%5C%3D%2Fi'
          3        SEND_VAL                                                 '%241%3D'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    8     7        ECHO                                                     !0
    9     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
127.13 ms | 1008 KiB | 14 Q