Re: [PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread PHILIPPE HAJJAR
True, but you can do the same thing in C as well, but fprintf was also implemented there :) The odd thing is, if none of the other "f" functions, e.g. printf, sprintf, etc. were implemented, I would understand why fprintf would also be excluded. However, PHP does an excellent job of implementin

Re: [PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread Andrey Hristov
:) - Original Message - From: "Markus Fischer" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 09, 2002 5:14 PM Subject: Re: [PHP-DEV] Bug #14949: fprint

Re: [PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread Markus Fischer
On Wed, Jan 09, 2002 at 05:06:19PM +0200, Andrey Hristov wrote : > The answer will be : "Because it can be emulated in the userspace". > > $fp=fopen('some.txt','w+'); > $some=10; > fwrite($fp, sprintf("some decimal %d",$some)); > fclose($fp); > > ?> so you volunteer for a FAQ entry? :-)

Re: [PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread Andrey Hristov
The answer will be : "Because it can be emulated in the userspace". Regards, Andrey Hristov - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 09, 2002 4:57 PM Subject: [PHP-DEV] Bug #14949: fprintf function >

[PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread pnh102
From: [EMAIL PROTECTED] Operating system: All PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: fprintf function This issue has stumped me since I first started working with PHP (Around version 3.0.14 I believe). And I'm fairly sure I'm not the only o