|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-16 21:43 UTC] nforbes@php.net
[2020-02-07 06:11 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 04:00:01 2025 UTC |
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)