note 123782 deleted from language.basic-syntax.comments by peehaa
| From: | peehaa@php.net | Date: | Sun, 28 Apr 2019 09:52:36 +0000 |
| Subject: | note 123782 deleted from language.basic-syntax.comments by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210723@lists.php.net to get a copy of this message | ||
Note Submitter: nishimura at mtlabs dot co dot jp
----
Beware also of ?> in regular expressions.
The following code cause a PHP syntax error:
<?php
if ( $foo ) {
// $bar = preg_replace( '#<br\s*/?>#', '', $bar );
}
?>