php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69631 improve syntax readability
Submitted: 2015-05-13 15:13 UTC Modified: 2015-05-13 16:14 UTC
From: expression645 at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: *General Issues
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
8 + 1 = ?
Subscribe to this entry?

 
 [2015-05-13 15:13 UTC] expression645 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.date
---
string date ( string $format [, int $timestamp = time() ] )

Test script:
---------------
string date ( string $format [, int $timestamp = time() ] )

Dear Sir, can you please improve documentation by including how to read the syntax in the example above for improving readability for arts majors.
For instance "date entered should be string in quotes etc as in $a= date("l");"

Thnak-you


Expected result:
----------------
string date ( string $format [, int $timestamp = time() ] )

Dear Sir, can you please improve documentation by including how to read the syntax in the example above for improving readability for arts majors.
For instance "date entered should be string in quotes etc as in $a= date("l");"

Thnak-you

Actual result:
--------------
string date ( string $format [, int $timestamp = time() ] )

Dear Sir, can you please improve documentation by including how to read the syntax in the example above for improving readability for arts majors.
For instance "date entered should be string in quotes etc as in $a= date("l");"

Thnak-you

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-13 16:14 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2015-05-13 16:14 UTC] cmb@php.net
There is already a page in the appendix on how to read function prototypes: <http://php.net/manual/en/about.prototypes.php>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 07:01:30 2024 UTC