ID:              30008
 User updated by: k at krisgale dot com
-Summary:         string prepend =. operator would be Very handy!
 Reported By:     k at krisgale dot com
 Status:          Wont fix
 Bug Type:        Feature/Change Request
 PHP Version:     Irrelevant
 New Comment:

looking at it again, i could see how =. would be Very confusing...

is #= in use for anything?

i'll stop my filibustering here since, as you said, this is a feature
request not a bug.


Previous Comments:
------------------------------------------------------------------------

[2004-09-07 13:01:16] k at krisgale dot com

[shrug] to me, it was worth asking :)
apologies for not finding a 'feature request' form on the site.
there's an operator such as this in perl?
i was unaware (i skipped perl on my way past jsp and coldfusion).

------------------------------------------------------------------------

[2004-09-07 12:57:14] [EMAIL PROTECTED]

Not a bug, but a feature request. But something that won't be
implemented as it would be way to confusing (and PHP != Perl).

------------------------------------------------------------------------

[2004-09-07 12:34:46] k at krisgale dot com

Description:
------------
with regard to assignment operators...
there exists the string append operator .=
what would be very handy is a prepend operator =.
i.e.
$a = "a";
$b = "b";
$ab = $b;
$ab =. $a;
echo $ab; // "ab"



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30008&edit=1

Reply via email to