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;

preferences:
32.91 ms | 404 KiB | 5 Q