Bug found somewhere : Re: [PECL-DEV] New package: Functional PHP
| From: | Richard Quadling | Date: | Fri, 10 Jun 2011 16:02:04 +0000 |
| Subject: | Bug found somewhere : Re: [PECL-DEV] New package: Functional PHP | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-8352@lists.php.net to get a copy of this message | ||
Hi.
Just looking to build the documentation via docgen for this extension.
Had a problem.
Reduced test to ...
php -n -d extension_dir=C:\php5\ext -d extension=php_functional.dll -r
"$o = new ReflectionExtension('functional');
print_r($o->getFunctions());"
Output is ...
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\all in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\any in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\detect in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\each in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\invoke in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\map in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\none in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\pluck in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\reduce_left in global function
table in Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\reduce_right in global function
table in Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\reject in global function table in
Command line code on line 1
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot
find extension function Functional\select in global function table in
Command line code on line 1
Array
(
)
At this stage, I don't know if the error is in the extension (php --re
functional works OK and no warnings like sqlsrv) or in the Reflection
classes not supporting namespaced entries.
If there is another extension that has namespaced entries, then this
should be easy to test. But I can't think of any.
Richard.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea