From:             
Operating system: any
PHP version:      Irrelevant
Package:          Reflection related
Bug Type:         Bug
Bug description:reflection_extension does not lowercase module function name

Description:
------------
in 

static void _extension_string(string *str, zend_module_entry *module, char
*indent TSRMLS_DC)

in php_reflection.c



when reflect extension functions , the codes:

 

        while (func->fname) {

            if (zend_hash_find(EG(function_table), func->fname,
strlen(func->fname) + 1, (void**) &fptr) == FAILURE) {

       

            }



when func->fname is not lowercase cause a PHP warning:



Warning: Internal error: Cannot find extension function qrcode_encodeString
in global function table in Unknown on line 0

Test script:
---------------
no

Expected result:
----------------
no

Actual result:
--------------
no

-- 
Edit bug report at http://bugs.php.net/bug.php?id=54347&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54347&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54347&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54347&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54347&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54347&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54347&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54347&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54347&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54347&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54347&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54347&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54347&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54347&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54347&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54347&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54347&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54347&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54347&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54347&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54347&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54347&r=mysqlcfg

Reply via email to