<HTML ><HEAD ><TITLE >Printing Information</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Extending PHP 4.0" HREF="zend.html"><LINK REL="PREVIOUS" TITLE="Returning Values" HREF="zend.returning.html"><LINK REL="NEXT" TITLE="zend_error" HREF="zend.printing.zend-error.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="chapter" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="zend.returning.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="zend.printing.zend-error.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="chapter" ><H1 ><A NAME="zend.printing" >Chapter 36. Printing Information</A ></H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="zend.printing.html#zend.printing.zend-printf" ><B CLASS="function" >zend_printf()</B ></A ></DT ><DT ><A HREF="zend.printing.zend-error.html" ><B CLASS="function" >zend_error()</B ></A ></DT ><DT ><A HREF="zend.printing.phpinfo.html" >Including Output in <A HREF="function.phpinfo.html" ><B CLASS="function" >phpinfo()</B ></A ></A ></DT ><DT ><A HREF="zend.printing.execution.html" >Execution Information</A ></DT ></DL ></DIV ><P > Often it's necessary to print messages to the output stream from your module, just as <A HREF="function.print.html" ><B CLASS="function" >print()</B ></A > would be used within a script. PHP offers functions for most generic tasks, such as printing warning messages, generating output for <A HREF="function.phpinfo.html" ><B CLASS="function" >phpinfo()</B ></A >, and so on. The following sections provide more details. Examples of these functions can be found on the CD-ROM. </P ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="zend.printing.zend-printf" ></A ><B CLASS="function" >zend_printf()</B ></H1 ><P > <B CLASS="function" >zend_printf()</B > works like the standard <A HREF="function.printf.html" ><B CLASS="function" >printf()</B ></A >, except that it prints to Zend's output stream. </P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="zend.returning.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="zend.printing.zend-error.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Returning Values</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="zend.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><B CLASS="function" >zend_error()</B ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >