[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-bugs
Subject: [DOC-BUGS] Doc #60888 [Opn->Csd]: Invalid class returns false
From: aharvey () php ! net
Date: 2012-01-27 9:36:20
Message-ID: E1RqiEG-0001YJ-F8 () sgrv2 ! php ! net
[Download RAW message or body]
Edit report at https://bugs.php.net/bug.php?id=60888&edit=1
ID: 60888
Updated by: aharvey@php.net
Reported by: adam at adamhahn dot com
Summary: Invalid class returns false
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2012-01-27 09:36:00] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=322841
Log: Fix doc bug #60888 (Invalid class returns false).
------------------------------------------------------------------------
[2012-01-26 01:23:35] phpmpan at mpan dot pl
Same applies to `get_parent_class`. The documentation mentions about returning \
`FALSE`, but in different cases.
------------------------------------------------------------------------
[2012-01-25 23:50:25] adam at adamhahn dot com
Description:
------------
---
From manual page: http://www.php.net/function.get-class-vars#refsect1-function.get-class-vars-returnvalues
---
the documentation should report that in the event that the function 'get_class_vars' \
is not passed a valid class name, then the function returns false.
Test script:
---------------
<?php
get_class_vars('nonexistantclass'); // returns false
get_class_vars('stdClass'); // returns empty array
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60888&edit=1
--
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic