<?php
$text1 = 'abc def ghi';
$reg1 = '/\s/';
echo "Пробел находит\n";
} else {
echo "Пробел не находит\n";
}
PD9waHAKCiR0ZXh0MSA9ICdhYmMgZGVmIGdoaSc7CiRyZWcxID0gJy9ccy8nOwoKaWYgKHByZWdfbWF0Y2goJHJlZzEsICR0ZXh0MSkpIHsKICAgIGVjaG8gItCf0YDQvtCx0LXQuyDQvdCw0YXQvtC00LjRglxuIjsKfSBlbHNlIHsKICAgIGVjaG8gItCf0YDQvtCx0LXQuyDQvdC1INC90LDRhdC+0LTQuNGCXG4iOwp9Cg==