3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pattern = '/".*?"/ui'; $sample = 'gdfg gfdgd fdg df "gfdgdg" '; echo (int)preg_match( $pattern, $sample, $matches).PHP_EOL; print_r($matches);
based on 2HGa9
Output for 5.5.0 - 7.2.6
1 Array ( [0] => "gfdgdg" )