(PHP 3, PHP 4) sprintf() のドキュメントで説明されている format にしたがって、出力を生成します。 print(), sprintf(), sscanf(), fscanf(), flush() も参照下さい。