mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
add output for examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175182 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
76a1899822
commit
7674cf96fd
2 changed files with 16 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.date-sunrise">
|
||||
<refnamediv>
|
||||
<refname>date_sunrise</refname>
|
||||
|
@ -79,11 +79,17 @@ Zenith ~= 90
|
|||
offset: +1 GMT
|
||||
*/
|
||||
|
||||
echo date_sunrise(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
|
||||
echo date("D M d Y"). ', sunrise time : ' .date_sunrise(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Mon Dec 20 2004, sunrise time : 08:54
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.date-sunset">
|
||||
<refnamediv>
|
||||
<refname>date_sunset</refname>
|
||||
|
@ -79,11 +79,17 @@ Zenith ~= 90
|
|||
offset: +1 GMT
|
||||
*/
|
||||
|
||||
echo date_sunset(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
|
||||
echo date("D M d Y"). ', sunset time : ' .date_sunset(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Mon Dec 20 2004, sunset time : 18:13
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue