Bug #11537 Updated: We need an operator for prepending a string to a string. Something like =.
| From: | jonas at nospam dot delfs dot dk | Date: | Thu, 21 Jun 2001 11:14:35 +0000 |
| Subject: | Bug #11537 Updated: We need an operator for prepending a string to a string. Something like =. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57521@lists.php.net to get a copy of this message | ||
ID: 11537
User Update by: jonas@nospam.delfs.dk
Old-Status: Feedback
Status: Open
Bug Type: Feature/Change Request
Operating system: All
PHP Version: 4.0.5
Description: We need an operator for prepending a string to a string. Something like =.
What's wrong with:
$string = $string.$append;
Nothing, but still we have:
$string .= $append;
to make it easier for our selves...
Previous Comments:
---------------------------------------------------------------------------
[2001-06-18 23:02:35] swm@php.net
What is wrong with:
$string = $prefix.$string;
Gavin
---------------------------------------------------------------------------
[2001-06-18 09:41:08] jonas@nospam.delfs.dk
It's a feature-request, not a bug-report.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11537