From: denveroid at sitemaker dot ru
Operating system: Linux
PHP version: 4.4.4
PHP Bug Type: Unknown/Other Function
Bug description: get_defined_functions() returns junk values after the key 1048
Description:
------------
get_defined_functions() returns junk values after the key 1048 in the
resulted array.
Look at the reproduce code.
Also tested in 5.2.0 - not reproduced.
Reproduce code:
---------------
<?php
$funcs = get_defined_functions();
print_r($funcs['internal']);
?>
Expected result:
----------------
The result array should be list of internal PHP functions
Actual result:
--------------
The part of resulted array:
...
[1043] => zend_current_obfuscation_level
[1044] => zend_runtime_obfuscate
[1045] => zend_obfuscate_class_name
[1046] => zend_get_id
[1047] => zend_loader_version
[1048] => zend_optimizer_version
[1049] => uer1qc[<lm*uj
hb0
[1050] => pf?c9zei9whzf
[1051] => jyjl
u%(i
[1052] => fiecaz9/hxv^%"pmx
c`y2?
[1053] => ri*vh1.+8d8c]_'sc
[1054] => tntp\q4=zt~np{cq{vk(s|ts
....
--
Edit bug report at http://bugs.php.net/?id=39670&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=39670&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=39670&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=39670&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39670&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=39670&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39670&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39670&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39670&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39670&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39670&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=39670&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=39670&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39670&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39670&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39670&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39670&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39670&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39670&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39670&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39670&r=mysqlcfg