mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document important changes due to bugfixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350808 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
796565fc11
commit
9418329a85
2 changed files with 59 additions and 45 deletions
|
@ -15,9 +15,7 @@
|
|||
<para>
|
||||
This function will return a Unix timestamp corresponding to the
|
||||
Julian Day given in <parameter>jday</parameter> or &false; if
|
||||
<parameter>jday</parameter> is not inside the Unix epoch
|
||||
(Gregorian years between 1970 and 2037 or 2440588 <=
|
||||
<parameter>jday</parameter> <= 2465342 ). The time returned is
|
||||
<parameter>jday</parameter> is outside of the allowed range. The time returned is
|
||||
UTC.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -30,7 +28,8 @@
|
|||
<term><parameter>jday</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A julian day number between 2440588 and 2465342.
|
||||
A julian day number between <literal>2440588</literal> and <literal>106751993607888</literal>
|
||||
on 64bit systems, or between <literal>2440588</literal> and <literal>2465443</literal> on 32bit systems.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -41,10 +40,34 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The unix timestamp for the start (midnight, not noon) of the given Julian day.
|
||||
The unix timestamp for the start (midnight, not noon) of the given Julian day,
|
||||
&return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>7.3.24, 7.4.12</entry>
|
||||
<entry>
|
||||
The upper limit of <parameter>jday</parameter> has been extended. Previously,
|
||||
it was <literal>2465342</literal> regardless of the architecture.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<refentry xml:id="tidynode.ishtml" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>tidyNode::isHtml</refname>
|
||||
<refpurpose>Checks if a node is part of a HTML document</refpurpose>
|
||||
<refpurpose>Checks if a node is an element node</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -12,17 +12,40 @@
|
|||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Tells if the node is part of HTML document.
|
||||
Tells if the node is an element node, but not the root node of the document.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns &true; if the node is part of a HTML document, &false; otherwise.
|
||||
Returns &true; if the node is an element node, but not the root node of the document, &false; otherwise.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>7.3.24, 7.4.12</entry>
|
||||
<entry>
|
||||
This function has been fixed to have reasonable behavior. Previously,
|
||||
almost any node was reported as being an HTML node.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -88,9 +111,9 @@ function get_nodes($node) {
|
|||
# html node #1
|
||||
<html>
|
||||
<head>
|
||||
<?php echo '<title>title</title>'; ?><#
|
||||
<?php echo '<title>title</title>'; ?><#
|
||||
/* JSTE code */
|
||||
alert('Hello World');
|
||||
alert('Hello World');
|
||||
#>
|
||||
<title></title>
|
||||
</head>
|
||||
|
@ -108,28 +131,19 @@ Hello WorldOutside HTML
|
|||
|
||||
# html node #2
|
||||
<head>
|
||||
<?php echo '<title>title</title>'; ?><#
|
||||
<?php echo '<title>title</title>'; ?><#
|
||||
/* JSTE code */
|
||||
alert('Hello World');
|
||||
alert('Hello World');
|
||||
#>
|
||||
<title></title>
|
||||
</head>
|
||||
|
||||
|
||||
# html node #3
|
||||
<?php echo '<title>title</title>'; ?>
|
||||
|
||||
# html node #4
|
||||
<#
|
||||
/* JSTE code */
|
||||
alert('Hello World');
|
||||
#>
|
||||
|
||||
# html node #5
|
||||
<title></title>
|
||||
|
||||
|
||||
# html node #6
|
||||
# html node #4
|
||||
<body>
|
||||
<?php
|
||||
// PHP code
|
||||
|
@ -140,29 +154,6 @@ Hello WorldOutside HTML
|
|||
%><!-- Comments -->
|
||||
Hello WorldOutside HTML
|
||||
</body>
|
||||
|
||||
|
||||
# html node #7
|
||||
<?php
|
||||
// PHP code
|
||||
echo 'hello world!';
|
||||
?>
|
||||
|
||||
# html node #8
|
||||
<%
|
||||
/* ASP code */
|
||||
response.write("Hello World!")
|
||||
%>
|
||||
|
||||
# html node #9
|
||||
<!-- Comments -->
|
||||
|
||||
|
||||
# html node #10
|
||||
Hello World
|
||||
|
||||
# html node #11
|
||||
Outside HTML
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue