3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test="AdGroup update failed: [AdGroupServiceError.DUPLICATE_ADGROUP_NAME @ operations[6].operand.name; trigger:'prince2 training west yorkshire', AdGroupServiceError.DUPLICATE_ADGROUP_NAME @ operations[8].operand.name; trigger:'prince ii training and exam']"; $result = array(); preg_match_all("/'(.*?)'/im", $test, $result); var_dump($result);
Output for 4.3.0 - 7.1.0
array(2) { [0]=> array(2) { [0]=> string(33) "'prince2 training west yorkshire'" [1]=> string(29) "'prince ii training and exam'" } [1]=> array(2) { [0]=> string(31) "prince2 training west yorkshire" [1]=> string(27) "prince ii training and exam" } }