3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'CustomErrorLog "/errorlog wtf" hello bvc "jjrr" hello rrgg/x^$46/ "rggg£"'; preg_match_all('/(".*")/', $str, $matches); var_dump($matches);
based on V912V
Output for 4.3.0 - 7.1.0
array(2) { [0]=> array(1) { [0]=> string(62) ""/errorlog wtf" hello bvc "jjrr" hello rrgg/x^$46/ "rggg£"" } [1]=> array(1) { [0]=> string(62) ""/errorlog wtf" hello bvc "jjrr" hello rrgg/x^$46/ "rggg£"" } }