note 43807 deleted from function.ereg by tomsommer
| From: | tomsommer@php.net | Date: | Sun, 04 Jul 2004 18:59:04 +0000 |
| Subject: | note 43807 deleted from function.ereg by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72543@lists.php.net to get a copy of this message | ||
Note Submitter: lummert at netcologne dot de
----
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)