mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add opening/closing tags (Richard Q)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295819 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ab2f818a5f
commit
0bd545b5a5
1 changed files with 2 additions and 0 deletions
|
@ -75,8 +75,10 @@ echo $datetime->format(DATE_ATOM);
|
|||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$timestamp = $_SERVER["REQUEST_TIME"];
|
||||
$dt = new DateTime("@$timestamp");
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue