Simon J Welsh wrote:
[snip]
function list_formvars($pmatch=null) {...
http://php.net/manual/en/functions.arguments.php#functions.arguments.default
Thanks!.. missed that doc somehow.
Donovan
--
D Brooke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Hello!,
I work in another language mostly and often develop while displaying
variables (post,get,and defined) and their values at the bottom of the
page or in specific places. So, I thought I'd forward my PHP version as
an effort of good Karma to the list perhaps! ;-)
Below is 2 simple functi
Hi,
some pretty natives php functions exists to do the job :
var_export — Outputs or returns a parsable string representation of a variable
debug_zval_dump — Dumps a string representation of an internal zend value to
output
var_dump — Dumps information about a variable
print_r — Prints human-read
Hello,
This sure looks like a bug, but maybe there's some subtlety going on
that I don't understand, so I would appreciate some insight. After much
debugging, I tracked down a bug in my code to this test program. My PHP
version is 5.3.3, running under Fedora Linux.
'Title #1',
),
I cut and pasted your code and got the same result.
I flipped the two foreach blocks and got the expected results.
I deleted the first block and copied the second, then updated the
string. I got this. I can't explain.
'Title #1',
),
array(
'Title' => 'Title #2',
On Sun, Jan 8, 2012 at 12:29 AM, Tim Behrendsen wrote:
> Hello,
>
> This sure looks like a bug, but maybe there's some subtlety going on that I
> don't understand, so I would appreciate some insight. After much debugging,
> I tracked down a bug in my code to this test program. My PHP version is
>
On 1/7/2012 4:18 PM, Matijn Woudt wrote:
On Sun, Jan 8, 2012 at 12:29 AM, Tim Behrendsen wrote:
Hello,
This sure looks like a bug, but maybe there's some subtlety going on that I
don't understand, so I would appreciate some insight. After much debugging,
I tracked down a bug in my code to this
On 12-01-07 07:30 PM, Tim Behrendsen wrote:
When you use an ampersand on the variable, that creates a reference to
the array elements, allowing you to potentially change the array
elements themselves (which I'm not doing here).
http://www.php.net/manual/en/control-structures.foreach.php
I d
On 1/7/2012 4:44 PM, Stephen wrote:
On 12-01-07 07:30 PM, Tim Behrendsen wrote:
When you use an ampersand on the variable, that creates a reference
to the array elements, allowing you to potentially change the array
elements themselves (which I'm not doing here).
http://www.php.net/manual/e
9 matches
Mail list logo