body内容的精准调用

这是一个关于PHP的官方文档页面,包含下载、文档、参与、帮助等导航菜单,以及语言参考、安全、特性等多个部分的详细链接。用户可以在此找到关于PHP的各种信息,包括基本语法、类型、变量、错误处理、安全实践、数据库连接、文件处理、命令行使用等。页面还提供了键盘快捷键指南和多语言切换选项。
摘要由CSDN通过智能技术生成

<body class="docs ">

<nav id="head-nav" class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <a href="/" class="brand"><img src="/images/logos/php-logo.svg" width="48" height="24" alt="php"></a>
    <div id="mainmenu-toggle-overlay"></div>
    <input type="checkbox" id="mainmenu-toggle">
    <ul class="nav">
      <li class=""><a href="/downloads">Downloads</a></li>
      <li class="active"><a href="/docs.php">Documentation</a></li>
      <li class=""><a href="/get-involved">Get Involved</a></li>
      <li class=""><a href="/support">Help</a></li>
      <li class="">
        <a href="/releases/8.1/index.php">
          <img src="/images/php8/logo_php8_1.svg" alt="php8.1" height="22" width="60">
        </a>
      </li>
    </ul>
    <form class="navbar-search" id="topsearch" action="/search.php">
      <input type="hidden" name="show" value="quickref">
      <input type="search" name="pattern" class="search-query" placeholder="Search" accesskey="s">
    </form>
  </div>
  <div id="flash-message"></div>
</nav>
<nav id="trick"><div><dl>
<dt><a href="/manual/en/getting-started.php">Getting Started</a></dt>
    <dd><a href="/manual/en/introduction.php">Introduction</a></dd>
    <dd><a href="/manual/en/tutorial.php">A simple tutorial</a></dd>
<dt><a href="/manual/en/langref.php">Language Reference</a></dt>
    <dd><a href="/manual/en/language.basic-syntax.php">Basic syntax</a></dd>
    <dd><a href="/manual/en/language.types.php">Types</a></dd>
    <dd><a href="/manual/en/language.variables.php">Variables</a></dd>
    <dd><a href="/manual/en/language.constants.php">Constants</a></dd>
    <dd><a href="/manual/en/language.expressions.php">Expressions</a></dd>
    <dd><a href="/manual/en/language.operators.php">Operators</a></dd>
    <dd><a href="/manual/en/language.control-structures.php">Control Structures</a></dd>
    <dd><a href="/manual/en/language.functions.php">Functions</a></dd>
    <dd><a href="/manual/en/language.oop5.php">Classes and Objects</a></dd>
    <dd><a href="/manual/en/language.namespaces.php">Namespaces</a></dd>
    <dd><a href="/manual/en/language.enumerations.php">Enumerations</a></dd>
    <dd><a href="/manual/en/language.errors.php">Errors</a></dd>
    <dd><a href="/manual/en/language.exceptions.php">Exceptions</a></dd>
    <dd><a href="/manual/en/language.fibers.php">Fibers</a></dd>
    <dd><a href="/manual/en/language.generators.php">Generators</a></dd>
    <dd><a href="/manual/en/language.attributes.php">Attributes</a></dd>
    <dd><a href="/manual/en/language.references.php">References Explained</a></dd>
    <dd><a href="/manual/en/reserved.variables.php">Predefined Variables</a></dd>
    <dd><a href="/manual/en/reserved.exceptions.php">Predefined Exceptions</a></dd>
    <dd><a href="/manual/en/reserved.interfaces.php">Predefined Interfaces and Classes</a></dd>
    <dd><a href="/manual/en/context.php">Context options and parameters</a></dd>
    <dd><a href="/manual/en/wrappers.php">Supported Protocols and Wrappers</a></dd>
</dl>
<dl>
<dt><a href="/manual/en/security.php">Security</a></dt>
    <dd><a href="/manual/en/security.intro.php">Introduction</a></dd>
    <dd><a href="/manual/en/security.general.php">General considerations</a></dd>
    <dd><a href="/manual/en/security.cgi-bin.php">Installed as CGI binary</a></dd>
    <dd><a href="/manual/en/security.apache.php">Installed as an Apache module</a></dd>
    <dd><a href="/manual/en/security.sessions.php">Session Security</a></dd>
    <dd><a href="/manual/en/security.filesystem.php">Filesystem Security</a></dd>
    <dd><a href="/manual/en/security.database.php">Database Security</a></dd>
    <dd><a href="/manual/en/security.errors.php">Error Reporting</a></dd>
    <dd><a href="/manual/en/security.variables.php">User Submitted Data</a></dd>
    <dd><a href="/manual/en/security.hiding.php">Hiding PHP</a></dd>
    <dd><a href="/manual/en/security.current.php">Keeping Current</a></dd>
<dt><a href="/manual/en/features.php">Features</a></dt>
    <dd><a href="/manual/en/features.http-auth.php">HTTP authentication with PHP</a></dd>
    <dd><a href="/manual/en/features.cookies.php">Cookies</a></dd>
    <dd><a href="/manual/en/features.sessions.php">Sessions</a></dd>
    <dd><a href="/manual/en/features.xforms.php">Dealing with XForms</a></dd>
    <dd><a href="/manual/en/features.file-upload.php">Handling file uploads</a></dd>
    <dd><a href="/manual/en/features.remote-files.php">Using remote files</a></dd>
    <dd><a href="/manual/en/features.connection-handling.php">Connection handling</a></dd>
    <dd><a href="/manual/en/features.persistent-connections.php">Persistent Database Connections</a></dd>
    <dd><a href="/manual/en/features.commandline.php">Command line usage</a></dd>
    <dd><a href="/manual/en/features.gc.php">Garbage Collection</a></dd>
    <dd><a href="/manual/en/features.dtrace.php">DTrace Dynamic Tracing</a></dd>
</dl>
<dl>
<dt><a href="/manual/en/funcref.php">Function Reference</a></dt>
    <dd><a href="/manual/en/refs.basic.php.php">Affecting PHP's Behaviour</a></dd>
    <dd><a href="/manual/en/refs.utilspec.audio.php">Audio Formats Manipulation</a></dd>
    <dd><a href="/manual/en/refs.remote.auth.php">Authentication Services</a></dd>
    <dd><a href="/manual/en/refs.utilspec.cmdline.php">Command Line Specific Extensions</a></dd>
    <dd><a href="/manual/en/refs.compression.php">Compression and Archive Extensions</a></dd>
    <dd><a href="/manual/en/refs.crypto.php">Cryptography Extensions</a></dd>
    <dd><a href="/manual/en/refs.database.php">Database Extensions</a></dd>
    <dd><a href="/manual/en/refs.calendar.php">Date and Time Related Extensions</a></dd>
    <dd><a href="/manual/en/refs.fileprocess.file.php">File System Related Extensions</a></dd>
    <dd><a href="/manual/en/refs.international.php">Human Language and Character Encoding Support</a></dd>
    <dd><a href="/manual/en/refs.utilspec.image.php">Image Processing and Generation</a></dd>
    <dd><a href="/manual/en/refs.remote.mail.php">Mail Related Extensions</a></dd>
    <dd><a href="/manual/en/refs.math.php">Mathematical Extensions</a></dd>
    <dd><a href="/manual/en/refs.utilspec.nontext.php">Non-Text MIME Output</a></dd>
    <dd><a href="/manual/en/refs.fileprocess.process.php">Process Control Extensions</a></dd>
    <dd><a href="/manual/en/refs.basic.other.php">Other Basic Extensions</a></dd>
    <dd><a href="/manual/en/refs.remote.other.php">Other Services</a></dd>
    <dd><a href="/manual/en/refs.search.php">Search Engine Extensions</a></dd>
    <dd><a href="/manual/en/refs.utilspec.server.php">Server Specific Extensions</a></dd>
    <dd><a href="/manual/en/refs.basic.session.php">Session Extensions</a></dd>
    <dd><a href="/manual/en/refs.basic.text.php">Text Processing</a></dd>
    <dd><a href="/manual/en/refs.basic.vartype.php">Variable and Type Related Extensions</a></dd>
    <dd><a href="/manual/en/refs.webservice.php">Web Services</a></dd>
    <dd><a href="/manual/en/refs.utilspec.windows.php">Windows Only Extensions</a></dd>
    <dd><a href="/manual/en/refs.xml.php">XML Manipulation</a></dd>
    <dd><a href="/manual/en/refs.ui.php">GUI Extensions</a></dd>
</dl>
<dl>
<dt>Keyboard Shortcuts</dt><dt>?</dt>
<dd>This help</dd>
<dt>j</dt>
<dd>Next menu item</dd>
<dt>k</dt>
<dd>Previous menu item</dd>
<dt>g p</dt>
<dd>Previous man page</dd>
<dt>g n</dt>
<dd>Next man page</dd>
<dt>G</dt>
<dd>Scroll to bottom</dd>
<dt>g g</dt>
<dd>Scroll to top</dd>
<dt>g h</dt>
<dd>Goto homepage</dd>
<dt>g s</dt>
<dd>Goto search<br>(current page)</dd>
<dt>/</dt>
<dd>Focus search box</dd>
</dl></div></nav>
<div id="goto">
    <div class="search">
         <div class="text"></div>
         <div class="results"><ul></ul></div>
   </div>
</div>

  <div id="breadcrumbs" class="clearfix">
    <div id="breadcrumbs-inner">
          <div class="next">
        <a href="faq.general.php">
          一般信息 »
        </a>
      </div>
              <div class="prev">
        <a href="class.ui-exception-runtimeexception.php">
          « UI\Exception\RuntimeException        </a>
      </div>
          <ul>
            <li><a href="index.php">PHP 手册</a></li>      </ul>
    </div>
  </div>


<div id="layout" class="clearfix">
  <section id="layout-content">
  <div class="page-tools">
    <div class="change-language">
      <form action="/manual/change.php" method="get" id="changelang" name="changelang">
        <fieldset>
          <label for="changelang-langs">Change language:</label>
          <select οnchange="document.changelang.submit()" name="page" id="changelang-langs">
            <option value="en/faq.php">English</option>
            <option value="pt_BR/faq.php">Brazilian Portuguese</option>
            <option value="zh/faq.php" selected="selected">Chinese (Simplified)</option>
            <option value="fr/faq.php">French</option>
            <option value="de/faq.php">German</option>
            <option value="ja/faq.php">Japanese</option>
            <option value="ru/faq.php">Russian</option>
            <option value="es/faq.php">Spanish</option>
            <option value="tr/faq.php">Turkish</option>
            <option value="help-translate.php">Other</option>
          </select>
        </fieldset>
      </form>
    </div>
    <div class="edit-bug">
      <a href="https://github.com/php/doc-base/blob/master/manual.xml.in">Submit a Pull Request</a>
      <a href="https://github.com/php/doc-zh/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffaq%0A%0A---">Report a Bug</a>
    </div>
  </div><div id="faq" class="book">
  <h1 class="title">FAQ:常见问题</h1>
  
  


  


  

  


  


  

  

  

  


  


  

 <ul class="chunklist chunklist_book"><li><a href="faq.general.php">一般信息</a></li><li><a href="faq.mailinglist.php">邮件列表</a></li><li><a href="faq.obtaining.php">获取 PHP</a></li><li><a href="faq.databases.php">数据库问题</a></li><li><a href="faq.installation.php">安装</a> — 安装常见问题</li><li><a href="faq.build.php">编译问题</a></li><li><a href="faq.using.php">使用 PHP</a></li><li><a href="faq.passwords.php">密码散列</a> — 密码散列安全</li><li><a href="faq.html.php">PHP 和 HTML</a></li><li><a href="faq.com.php">PHP 和 COM</a></li><li><a href="faq.misc.php">其他问题</a></li></ul></div>
<section id="usernotes">
 <div class="head">
  <span class="action"><a href="/manual/add-note.php?sect=faq&amp;redirect=https://www.php.net/manual/zh/faq.php"><img src="/images/notes-add@2x.png" alt="add a note" width="12" height="12"> <small>add a note</small></a></span>
  <h3 class="title">User Contributed Notes </h3>
 </div>
 <div class="note">There are no user contributed notes for this page.</div></section>    </section><!-- layout-content -->
        <aside class="layout-menu">

        <ul class="parent-menu-list">
                                    <li>
                <a href="index.php">PHP 手册</a>

                                    <ul class="child-menu-list">

                                                <li class="">
                            <a href="copyright.php" title="版权信息">版权信息</a>
                        </li>
                                                <li class="">
                            <a href="manual.php" title="PHP 手册">PHP 手册</a>
                        </li>
                                                <li class="">
                            <a href="getting-started.php" title="入门指引">入门指引</a>
                        </li>
                                                <li class="">
                            <a href="install.php" title="安装与配置">安装与配置</a>
                        </li>
                                                <li class="">
                            <a href="langref.php" title="语言参考">语言参考</a>
                        </li>
                                                <li class="">
                            <a href="security.php" title="安全">安全</a>
                        </li>
                                                <li class="">
                            <a href="features.php" title="特点">特点</a>
                        </li>
                                                <li class="">
                            <a href="funcref.php" title="函数参考">函数参考</a>
                        </li>
                                                <li class="current">
                            <a href="faq.php" title="FAQ">FAQ</a>
                        </li>
                                                <li class="">
                            <a href="appendices.php" title="附录">附录</a>
                        </li>
                        
                    </ul>
                
            </li>
                        
                    </ul>
    </aside>


  </div><!-- layout -->

  <footer>
    <div class="container footer-content">
      <div class="row-fluid">
      <ul class="footmenu">
        <li><a href="/copyright.php">Copyright © 2001-2022 The PHP Group</a></li>
        <li><a href="/my.php">My PHP.net</a></li>
        <li><a href="/contact.php">Contact</a></li>
        <li><a href="/sites.php">Other PHP.net sites</a></li>
        <li><a href="/privacy.php">Privacy policy</a></li>
        <li><a href="https://github.com/php/web-php/blob/master/manual%2Fzh%2Ffaq.php">View Source</a></li>
      </ul>
      </div>
    </div>
  </footer>

    
 <!-- External and third party libraries. -->
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" integrity="sha384-aBL3Lzi6c9LNDGvpHkZrrm3ZVsIwohDD7CDozL0pk8FwCrfmV7H9w8j3L7ikEv6h" crossorigin="anonymous"></script></body>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

m0_71675268

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值