int printf ( string format [, mixed argument [, mixed ...]] ) is the standard C way to format text : printf « Utility Function « PHP
- PHP
- Utility Function
- printf
int printf ( string format [, mixed argument [, mixed ...]] ) is the standard C way to format text
<?
$animals = "lions, tigers, and bears";
printf("There were %s - oh my!", $animals);
?>
Related examples in the same category