|
(PHP 5)
vfprintf — Write a formatted string to a stream
Description
int vfprintf ( resource $handle, string $format, array $args )
Write a string produced according to format to the stream resource specified by handle. format is described in the documentation for sprintf().
Operates as fprintf() but accepts an array of arguments, rather than a variable number of arguments.
Returns the length of the outputted string.
<?php
if (!($fp = fopen('date.txt', 'w')))
return;
vfprintf($fp, "%04d-%02d-%02d", array($year, $month, $day));
// will write the formatted ISO date to date.txt
?>
Doing for this function is string
Add by Pancho
You can edit it here
|
abcarticle.ru (blockart[dog]mail[dot]ru)
5LeDiJ <a href="http://vzqrbkgrquam.com/">vzqrbkgrquam</a>, [url=http://grxxpiudihcs.com/]grxxpiudihcs[/url], [link=http://wbouvesjwntd.com/]wbouvesjwntd[/link], http://nvlqkkymghas.com/
|
|
Adding comments is available only for registered users.
|
Frog Killer Caught in the Act
A killer has been caught in the act: the first before-and-after view of an infectious disease that led to an amphibian die-off has been released by the scientists who tracked it. The results are published this week in the journal Proceedings of the National Academy of Sciences (PNAS). Like a wave, incidence of the fungal disease that wipes out Central American frogs--chytridiomycosis--advances through the region's highlands at a rate of about 30 kilometers ...
More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117348&WT.mc_id=USNSF_51&WT.mc_ev=click
This is an NSF News item.
|
|
PycckaR BepcuR
Articles

Library

Downloads

|