The answer will be : "Because it can be emulated in the userspace".
<?php
$fp=fopen('some.txt','w+');
$some=10;
fwrite($fp, sprintf("some decimal %d",$some));
fclose($fp);
?>
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
> 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 one
> wondering about this.
>
> How come there is no fprintf function?
>
> I looked at the FAQ on the website (even tried submitting a comment on it).
> I've read a few books on PHP, and they all say "there is no fprintf
> function." I've done numerous web searches on this question, and although
> I have found workarounds for the lack of this function, I never found the
> reason why it was excluded.
>
> I know you are all busy with other, more pressing concerns regarding PHP
> and its upkeep, but whatever the answer is, could you please put it in the
> FAQ for all to see?
>
> Thanks for your time!
> --
> Edit bug report at: http://bugs.php.net/?id=14949&edit=1
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]