Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #15236
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: replacing import_request_variables with extract - not working ... |
| Date | 2015-04-11 19:23 +0200 |
| Organization | solani.org |
| Message-ID | <mgbl9v$91m$1@solani.org> (permalink) |
| References | <d047a1ae-3794-4015-ae00-2da2f62bab88@googlegroups.com> <acbaab92-b101-43cd-a26c-2377115eb9d7@googlegroups.com> <vgiiiap6v8n978ptts05cv3eokcdd1lcqp@4ax.com> |
Richard Yates wrote: > On Sat, 11 Apr 2015 09:05:40 -0700 (PDT), Richard Townsend-Rose > <richard.townsendrose@gmail.com> wrote: > >> Christopher >> >> Exactly the reply needed ... but I am damned if I can read that prefix adds an underscore in the text. >> >> Anyway working a treat. >> >> Jerry - We have a methodology for checking any unwanted vars that ends any processing. >> >> richard > > I went there and also could not find it at first. Wrote a little > script to confirm that and undescore was added, then went back to > http://php.net/manual/en/function.extract.php and there it was, right > in plain sight: > > "prefix > Note that prefix is only required if flags is EXTR_PREFIX_SAME, > EXTR_PREFIX_ALL, EXTR_PREFIX_INVALID or EXTR_PREFIX_IF_EXISTS. If the > prefixed result is not a valid variable name, it is not imported into > the symbol table. Prefixes are automatically separated from the array > key by an underscore character." > > Feeble minds think alike... It might be possible, though, that this part of the manual is missing on a mirror or in a translation. If so, please file a bug report. -- Christoph M. Becker
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
replacing import_request_variables with extract - not working ... Richard Townsend-Rose <richard.townsendrose@gmail.com> - 2015-04-11 06:08 -0700
Re: replacing import_request_variables with extract - not working ... Jerry Stuckle <jstucklex@attglobal.net> - 2015-04-11 09:33 -0400
Re: replacing import_request_variables with extract - not working ... Richard Townsend-Rose <richard.townsendrose@gmail.com> - 2015-04-11 07:04 -0700
Re: replacing import_request_variables with extract - not working ... Jerry Stuckle <jstucklex@attglobal.net> - 2015-04-11 10:37 -0400
Re: replacing import_request_variables with extract - not working ... "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-11 16:11 +0200
Re: replacing import_request_variables with extract - not working ... Richard Townsend-Rose <richard.townsendrose@gmail.com> - 2015-04-11 09:05 -0700
Re: replacing import_request_variables with extract - not working ... Richard Yates <richard@yatesguitar.com> - 2015-04-11 09:24 -0700
Re: replacing import_request_variables with extract - not working ... "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-11 19:23 +0200
Re: replacing import_request_variables with extract - not working ... Jerry Stuckle <jstucklex@attglobal.net> - 2015-04-11 14:44 -0400
csiph-web