ID:               34534
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at majiclab dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2005-09-16 20:48:05] phpbugs at majiclab dot com

Description:
------------
In the documentation, there is no reference to a '_' being 
concatenated between the prefix and the variable name being 
extracted.  Should make this fact more clear in documentation 
to aleviate some problems such as illustrated below:

Reproduce code:
---------------
<?php
extract(array('test' => 123), EXTR_PREFIX_ALL, 'prefix');
echo $prefixtest;
?>

Expected result:
----------------
123

Actual result:
--------------
undefined variable $prefixtest (it's really $prefix_test)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34534&edit=1

Reply via email to