Re: Bug #14949: fprintf function
| From: | Andrey Hristov | Date: | Wed, 09 Jan 2002 15:06:19 +0000 |
| Subject: | Re: Bug #14949: fprintf function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76353@lists.php.net to get a copy of this message | ||
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: <pnh102@psu.edu>
To: <php-dev@lists.php.net>
Sent: Wednesday, January 09, 2002 4:57 PM
Subject: [PHP-DEV] Bug #14949: fprintf function
> From: pnh102@psu.edu
> 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: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>