Is this a bug (can't say that I find this the expected behavior^^)?
Code: Select all
$dirs = <<<'>>>'
'Hello, world!'
'You, me'
>>>;
$values = regexreplace($dirs, "\r?\n", ",");
$array = array($values);
foreach($array as $value) {
echo $value;
}
XYplorer Beta Club