note 16144 added to function.split
| From: | phpheadon at NOSPAM dot loadeddice dot co dot uk | Date: | Wed, 17 Oct 2001 21:32:12 +0000 |
| Subject: | note 16144 added to function.split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19065@lists.php.net to get a copy of this message | ||
Following from above, as the seperator is a reg exp, to split a DNS name into it's component
parts you need to escape the seperator. That is use "/." and not just "."
--
http://www.php.net/manual/en/function.split.php
http://master.php.net/manage/user-notes.php?action=edit+16144
http://master.php.net/manage/user-notes.php?action=delete+16144
http://master.php.net/manage/user-notes.php?action=reject+16144