mirror of
https://github.com/php/doc-zh.git
synced 2026-03-23 22:52:08 +01:00
Fix formatting issue (#994)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: cb6d65ebe2412bbaef6d1edd076911539f1aceda Maintainer: Gregory Status: ready -->
|
||||
<!-- EN-Revision: dd4d6c1217c4bc53eeadc65b5b67bf29ba429993 Maintainer: Gregory Status: ready -->
|
||||
<!-- CREDITS: dallas, mowangjuanzi, Luffy -->
|
||||
<!-- 请保持此文件与英文文件中相应的每个 ENTITY 行号一一对应以便于对照,修改与更新! -->
|
||||
|
||||
@@ -642,6 +642,10 @@ xmlns="http://docbook.org/ns/docbook"><simpara> 该函数自 PHP 8.1
|
||||
|
||||
<!ENTITY example.outputs.84.similar '<para xmlns="http://docbook.org/ns/docbook">上述示例在 PHP 8.4 中的输出类似于:</para>'>
|
||||
|
||||
<!ENTITY example.outputs.85 '<para xmlns="http://docbook.org/ns/docbook">以上示例在 PHP 8.5 中的输出:</para>'>
|
||||
|
||||
<!ENTITY example.outputs.85.similar '<para xmlns="http://docbook.org/ns/docbook">上述示例在 PHP 8.5 中的输出类似于:</para>'>
|
||||
|
||||
<!ENTITY example.outputs.32bit '<para xmlns="http://docbook.org/ns/docbook">以上示例在 32 位机器上的输出:</para>'>
|
||||
|
||||
<!ENTITY example.outputs.64bit '<para xmlns="http://docbook.org/ns/docbook">以上示例在 64 位机器上的输出:</para>'>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<listitem><simpara><type>null</type></simpara></listitem>
|
||||
<listitem><simpara><type>bool</type></simpara></listitem>
|
||||
<listitem><simpara><type>int</type></simpara></listitem>
|
||||
<listitem><simpara><type>float</type> (浮点数)</simpara></listitem>
|
||||
<listitem><simpara><type>float</type>(浮点数)</simpara></listitem>
|
||||
<listitem><simpara><type>string</type></simpara></listitem>
|
||||
<listitem><simpara><type>array</type></simpara></listitem>
|
||||
<listitem><simpara><type>object</type></simpara></listitem>
|
||||
@@ -57,6 +57,7 @@
|
||||
<title>不同类型</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$a_bool = true; // a bool
|
||||
$a_str = "foo"; // a string
|
||||
$a_str2 = 'foo'; // a string
|
||||
@@ -79,7 +80,7 @@ if (is_string($a_bool)) {
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
<![CDATA[
|
||||
bool
|
||||
string
|
||||
int(16)
|
||||
|
||||
Reference in New Issue
Block a user