mirror of
https://github.com/php/doc-es.git
synced 2026-03-26 08:22:08 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@325457 c90b9560-bf6c-de11-be94-00142212c4b1
95 lines
2.9 KiB
XML
95 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 84b8fca68fc762fefe85acde180a38b2e77a28b9 Maintainer: chuso Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<refentry xml:id="function.main" xmlns="http://docbook.org/ns/docbook" role="noversion" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>main</refname>
|
|
<refpurpose>Función <function>main</function> falsa</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<para>
|
|
No existe ninguna función <function>main</function>, salvo en el
|
|
código fuente de PHP. En PHP 4.3.0, se introdujo un nuevo tipo de manejador
|
|
de errores en el código fuente de PHP (php_error_docref).
|
|
Existe una opción que permite enlazar a páginas del manual de PHP
|
|
en los errores de mensaje cuando las directivas de PHP <link linkend="ini.html-errors">html_errors</link>
|
|
(habilitado por omisión) y <link linkend="ini.docref-root">docref_root</link>
|
|
(hasta PHP 4.3.2, habilitado por omisión) están habilitadas.
|
|
</para>
|
|
<para>
|
|
Algunos mensajes de error apuntan a la página del manual para la función
|
|
<function>main</function>, que es por lo que esta página existe. Si
|
|
descubre alguna referencia a esta página, por favor
|
|
<link xlink:href="&url.php.bugs;">reporte un informe de error</link>, indicando
|
|
la función PHP que provocó el error que apuntó a <function>main</function>,
|
|
para que sea corregido y documentado.
|
|
</para>
|
|
<para>
|
|
<table>
|
|
<title>Errores conocidos que apuntaban a <function>main</function></title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Nombre de la función</entry>
|
|
<entry>No apunta aquí desde</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><function>include</function></entry>
|
|
<entry>5.1.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><function>include_once</function></entry>
|
|
<entry>5.1.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><function>require</function></entry>
|
|
<entry>5.1.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><function>require_once</function></entry>
|
|
<entry>5.1.0</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><link linkend="ini.html-errors">html_errors</link></member>
|
|
<member><link linkend="ini.display-errors">display_errors</link></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|