Suggestions for PHP
| From: | Michael Virnstein | Date: | Sun, 26 Sep 2004 09:32:26 +0000 |
| Subject: | Suggestions for PHP | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-12993@lists.php.net to get a copy of this message | ||
Hi there,
what really would be nice, if PHP would have a more advanced way of quoting strings similar to Perl. E.g. the q{} and qq{} function are really helpful there or that i can use e.g. $var = !my string 'hallo'!;
and i don't have to backslash ' and " inside the string.
another thing that i find useful in Perl is the unless construct. I sometimes find it more readable to use "unless($error) {...} " instead of "if (!$error) {...}".
I think this would be nice additions, perhaps you'll consider implementing them in future releases.
Thanx