3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '<img alt="tXmd8xs42E0ajh_DR1nKBAfg9zsbtN0f2YXioK6zgKxsxdgJWUiAYK9R6EOOVa5AoTwnVgCqMiQVLgPkNmZ2yKaZd1kWcDfAxVvJwY_YVPXrnwsrnAnooN1qJ_GFHJSJgOaM9up4" src="https://lh3.googleusercontent.com/tXmd8xs42E0ajh_DR1nKBAfg9zsbtN0f2YXioK6zgKxsxdgJWUiAYK9R6EOOVa5AoTwnVgCqMiQVLgPkNmZ2yKaZd1kWcDfAxVvJwY_YVPXrnwsrnAnooN1qJ_GFHJSJgOaM9up4" style="border:none;width:176px;height:153px;" />'; preg_match('/src=\\"[^\\"]*\\"/', $a, $src); var_dump($src);
based on VoLrD
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0alpha1
array(1) { [0]=> string(176) "src="https://lh3.googleusercontent.com/tXmd8xs42E0ajh_DR1nKBAfg9zsbtN0f2YXioK6zgKxsxdgJWUiAYK9R6EOOVa5AoTwnVgCqMiQVLgPkNmZ2yKaZd1kWcDfAxVvJwY_YVPXrnwsrnAnooN1qJ_GFHJSJgOaM9up4"" }