ID: 14112
Updated by: zak
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
Why not just build your own function?
function sprintf_array ($format) {
if (1 == func_get_args () ) {
ID: 14112
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
Yes something like this should work.
But it's not as fast as it could be.
And I personally like when thins are
ID: 14112
Updated by: zak
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
I would guess that implementing it as a native PHP
function would be at least 2x as fast.
I suppose the issue now is finding out
ID: 14112
Updated by: zak
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
I would guess that implementing it as a native PHP
function would be at least 2x as fast.
I suppose the issue now is
On November 19, 2001 05:04 am, Sterling Hughes wrote:
ID: 14112
Updated by: zak
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
I would guess that implementing it as a native PHP
function
ID: 14112
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
Your solution seems fine to me.
It doesn't change the functionality I requested, so no
objections.
Previous
ID: 14112
Updated by: zak
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.0RC1
New Comment:
Poof! Apparently Andrei is prescient. :)
Use vprintf() and vsprintf() to do exactly what you
requested.