<HTML ><HEAD ><TITLE >$error_reporting</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Smarty Manual" HREF="index.html"><LINK REL="UP" TITLE="Smarty Class Variables" HREF="api.variables.html"><LINK REL="PREVIOUS" TITLE="$request_use_auto_globals" HREF="variable.request.use.auto.globals.html"><LINK REL="NEXT" TITLE="$compile_id" HREF="variable.compile.id.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="sect1" 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" >Smarty Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="variable.request.use.auto.globals.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 12. Smarty Class Variables</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="variable.compile.id.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="variable.error.reporting" ></A >$error_reporting</H1 ><P > When this value is set to a non-null-value it's value is used as php's <A HREF="http://php.net/error_reporting" TARGET="_top" ><TT CLASS="varname" >error_reporting</TT ></A > level inside of <A HREF="api.display.html" ><TT CLASS="varname" >display()</TT ></A > and <A HREF="api.fetch.html" ><TT CLASS="varname" >fetch()</TT ></A >. When <A HREF="chapter.debugging.console.html" ><TT CLASS="parameter" ><I >debugging</I ></TT ></A > is enabled this value is ignored and the error-level is left untouched. </P ><P > See also <A HREF="api.trigger.error.html" ><TT CLASS="varname" >trigger_error()</TT ></A >, <A HREF="chapter.debugging.console.html" >debugging</A > and <A HREF="troubleshooting.html" >troubleshooting</A >. </P ></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="variable.request.use.auto.globals.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="variable.compile.id.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >$request_use_auto_globals</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="api.variables.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >$compile_id</TD ></TR ></TABLE ></DIV ></BODY ></HTML >