|
użytkowników online: 63
|
OPINIE UŻYTKOWNIKÓW
|
Gratulacje i dzięki! Trafiłem tu przypadkiem poszukując informacji na temat php+mysql. Wiele polskich stron powiela identyczne przykłady, klonuje te same kursy i lekcje... ten serwis okazał sie inny. Zasada "problem - rozwiazanie - wyjaśnienie" zdaje egzamin - zapewnia jasną, jednoznaczną i pewną pomoc w konkretnym przypadku. Porady są warte swojej ceny, przede wszystkim ze względu na przyjazną (także dla początkujących) formę i treść oraz bogate i stale powiększane zasoby. Polecam i pozdrawiam!
Kamil Dmowski
Polski Czerwony Krzyż
|
|
PODRĘCZNIK PHP 5.x, 4.x, 3.x - częściowo spolszczony / źródło: www.php.net
[Spis]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[J]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[U]
[V]
[X]
[W]
[Z]
vfprintf (PHP 5) vfprintf -- Write a formatted string to a stream Descriptionint 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.
See also: printf(),
sprintf(),
sscanf(), fscanf(),
vsprintf(), and
number_format().
Examples
Przykład 1. vfprintf(): zero-padded integers |
<?php
if (!($fp = fopen('date.txt', 'w')))
return;
vfprintf($fp, "%04d-%02d-%02d", array($year, $month, $day));
?>
|
|
User Contributed NotesThere are no user contributed notes for this page
|