mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
turned constant into ''
months -> 'months' git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45414 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e34737e2a1
commit
1bf58d5972
1 changed files with 3 additions and 3 deletions
|
@ -367,9 +367,9 @@ $today = date("H:i:s"); // 17:16:17
|
|||
</title>
|
||||
<programlisting>
|
||||
$today = getdate();
|
||||
$month = $today[month];
|
||||
$mday = $today[mday];
|
||||
$year = $today[year];
|
||||
$month = $today['month'];
|
||||
$mday = $today['mday'];
|
||||
$year = $today['year'];
|
||||
echo "$month $mday, $year";
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue