Re: Bug found somewhere : Re: [PECL-DEV] New package: Functional PHP

From: Date: Sat, 11 Jun 2011 08:17:30 +0000
Subject: Re: Bug found somewhere : Re: [PECL-DEV] New package: Functional PHP
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8354@lists.php.net to get a copy of this message
On 11 June 2011 08:55, Benjamin Eberlei <kontakt@beberlei.de> wrote: > pecl http switched to namespace in its 2.0  dev release just days ago, its on the list > somewhere. > > On Fri, 10 Jun 2011 17:02:04 +0100 > Richard Quadling <rquadling@gmail.com> wrote: > >> 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. Thanks for that. I'll take a look at that on Monday to see if ReflectionExtension works or not. Unless someone else can try it. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

« previous php.pecl.dev (#8354) next »