what is the right modifier to get $string treated as one line in regex?
$string = <<<EOD
<?php
function smoothTalker() {
// code here
}
?>
EOD;
$string = <<<EOD
<?php
function smoothTalker() {
// code here
}
?>
EOD;
Comment