It writes a formatted string to a specified output stream
Example
<?php
$file = fopen(“test.txt”,”w”);
echo vfprintf($file,”%s%s”,array(“PHP”,”Code”));
?>
Output
7
It writes a formatted string to a specified output stream
Example
<?php
$file = fopen(“test.txt”,”w”);
echo vfprintf($file,”%s%s”,array(“PHP”,”Code”));
?>
Output
7