3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '/\$([\w|\d]*="[\\\w|\d]*)";/'; $string = '$x15e="\141\162\162a\x79\x5f\162e\x76\145r\x73\x65"; $x15e="\141\162\162a\x79\x5f\162e\x76\145r\x73\x65";'; preg_match_all($regex, $string, $matches); foreach ($matches as $match) { var_dump($match); }

preferences:
58.72 ms | 402 KiB | 5 Q