#39670 [Opn->Bgs]: get_defined_functions() returns junk values after the key 1048
| From: | tony2001@php.net | Date: | Wed, 29 Nov 2006 10:06:23 +0000 |
| Subject: | #39670 [Opn->Bgs]: get_defined_functions() returns junk values after the key 1048 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105611@lists.php.net to get a copy of this message | ||
ID: 39670
Updated by: tony2001@php.net
Reported By: denveroid at sitemaker dot ru
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.4.4
New Comment:
Do not file bugs when you have Zend extensions (zend_extension=)
loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache,
APC, Xdebug and ionCube loader. These extensions often modify engine
behavior which is not related to PHP itself.
Previous Comments:
------------------------------------------------------------------------
[2006-11-29 00:30:18] denveroid at sitemaker dot ru
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 this bug report at http://bugs.php.net/?id=39670&edit=1