[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread zak
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 () ) {

[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread lenar
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

[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread zak
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

Re: [PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread Sterling Hughes
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

Re: [PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread Zak Greant
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

[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread lenar
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

[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread zak
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.