note 43807 added to function.ereg
| From: | lummertatnetcolognedotde at rn2 dot php dot net | Date: | Sun, 04 Jul 2004 18:55:42 +0000 |
| Subject: | note 43807 added to function.ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72542@lists.php.net to get a copy of this message | ||
one word about string literals:
you can use single quotes as string terminators where the
string will nearly be handled as CDATA except that`\'´ will be
replaced by `'´.
or you can use double quotes `"´ that makes the literal be
handled as PCDATA, thus producing not the least processing
effort and not allways better readability.
Writing a regexp string in double quotes is pretty useless!
It makes your code: less readable, more error prone and
slower in execution!
(CDATA: character data, PCDATA: parsed character data)
----
Manual Page -- http://www.php.net/manual/en/function.ereg.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43807
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43807&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43807&report=yes
Search -- http://master.php.net/manage/user-notes.php