|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11537 We need an operator for prepending a string to a string. Something like =.
Submitted: 2001-06-18 09:41 UTC Modified: 2006-10-27 01:00 UTC
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: jonas at nospam dot delfs dot dk Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.5 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
43 + 2 = ?
Subscribe to this entry?

 [2001-06-18 09:41 UTC] jonas at nospam dot delfs dot dk
It's a feature-request, not a bug-report.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-18 23:02 UTC]
What is wrong with:

$string = $prefix.$string;

 [2001-06-21 07:14 UTC] jonas at nospam dot delfs dot dk
What's wrong with:

$string = $string.$append;

Nothing, but still we have:

$string .= $append;

to make it easier for our selves...
 [2006-10-27 01:00 UTC]
This won't work because of: $a=.5;
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 03:01:28 2023 UTC