Re: [PHP-DEV] Re: Named arguments revisited

2006-01-14 Thread Aidan Lister
Ron Korving wrote: Another nice use case is querybuilders: $query = buildQuery(select: $columns, from: $tables, leftjoin: $leftjoins, limit: 10); We've seen a large number of cases where named parameters would be extremely useful. To each case, there has been a half baked attempt to

Re: [PHP-DEV] Re: Named arguments revisited

2006-01-11 Thread Aidan Lister
Andrei Zmievski wrote: On Jan 9, 2006, at 4:09 AM, Aidan Lister wrote: As useful functions tend to increase in complexity over time, often so does the number of parameters. It soon gets to the point where function calls look like: foo(true, false, false, false, false, true) The rest

[PHP-DEV] Re: Named arguments revisited

2006-01-09 Thread Aidan Lister
been brought up consistently over the last couple of years, in some cases rather passionately (I believe someone wanted to fork PHP over this a while back). We have a long time before a PHP6 release, this is the ideal time to discuss implementation. Kind regards, Aidan Lister -- PHP Internals

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread Aidan Lister
of inconsistency is htmlentities and html_entity_decode. These are easy to fix, and a relatively easy BC break for the user to deal with. I suggest we extend Jani's previous suggestion; by including a list of function name inconsistencies in the discussion. Kind regards, Aidan Lister

[PHP-DEV] Re: zend_highlight routine

2004-11-11 Thread Aidan Lister
Hi Robert, I think you'll find it's Appendix P. I recently documented all the PHP 5 additions to that page, my problem is not getting a list of tokens, http://lxr.php.net/source/php-src/ext/tokenizer/tokenizer.c#167 It's getting a list of tokens for which token.type IS_NULL. Thanks, though...

[PHP-DEV] Re: Does anyone have a valid magic.mime file?

2004-11-10 Thread Aidan Lister
Hi Bjorn, There definitely isn't anything special about this file, however it works for me with Apache 2 / PHP 5, http://virtualexplorer.com.au/magic.mime Good luck, Aidan Björn wiberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi again! I've been trying to get mime_magic to

[PHP-DEV] zend_highlight routine

2004-11-10 Thread Aidan Lister
is highlighted as a keyword, however I'm unable to track down where token.type is set. Is anyone able to provide some insight? King Regards, Aidan Lister -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Method for validating call-back functions

2004-08-27 Thread Aidan Lister
for such validation? On a side note, with php_error_docref errors, please don't add a full stop to the end of the error message! Kind Regards, Aidan Lister -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] GOTO operator

2004-07-30 Thread Aidan Lister
Develop some wacky construct that you have to use instead... that way, it will scare off novice users, and expert programmers will HAVE to know what they're doing and know that they really need it before they have to implement it. It's along the lines of make the most dangerous stuff the

Re: [PHP-DEV] Bug 28879: Populating arrays with resources and objects as offsets

2004-06-23 Thread Aidan Lister
But since there's no BC need to allow resources in array initialization, then sure, leave it to the scripter to cast it to an int if that's REALLY what they want. (Again why? comes to mind). PEAR::DB uses this method - I'm seeing a million errors on sites that have updated to latest CVS

[PHP-DEV] Re: Microsoft Scraping Email Addresses From PHP Internals List?

2004-06-21 Thread Aidan Lister
Obviously they're not actually from Microsoft - it's more than likely a spammer has picked your email up from one of the webarchives. The security updates from Microsoft are always a Trojan / virus etc. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I know it's off topic, and I

Re: [PHP-DEV] Re: Bouncer Test

2004-06-10 Thread Aidan Lister
Strange, sent it after our conversation on IRC. I'll post it here. - Hi systems, Here is a bunch of emails I'm sent every time I post to php-install. The list of addresses to be removed is below. [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL

[PHP-DEV] Re: Confusing pointers in PHP 4 and 5

2004-06-09 Thread Aidan Lister
I think, and I could be completely wrong, that copying a variable actually creates a reference. The data is only copied when the variable referenced is modified. Bert Slagter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sara Golemon wrote: Every variable in PHP is a pair.

[PHP-DEV] Re: Bouncer Test

2004-06-09 Thread Aidan Lister
PROTECTED] Aidan Lister wrote: This is a test message to detect any automated spam. Please don't reply, or you may be removed from the list accidently. [09-06 15:34:19] iridium This is a test message to detect any automated spam. Please don't reply, or [09-06 15:34:19] iridium you may

[PHP-DEV] Bouncer Test

2004-06-08 Thread Aidan Lister
This is a test message to detect any automated spam. Please don't reply, or you may be removed from the list accidently. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Internal casting of objects as array keys

2004-05-29 Thread Aidan Lister
Andi, any interest in this? Aidan Lister [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Andi, Okay, it's not as simple as I thought it was - and you're correct, the behaviour has not changed for php4/5. Objects in both PHP4 and PHP5 will throw an error if you use the method

[PHP-DEV] Re: Internal casting of objects as array keys

2004-05-25 Thread Aidan Lister
I'm going to go ahead and post this as a bug, unless there is a reason noone replied... Aidan Lister [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello devs, I'd like to discuss the use of objects as array keys. ?php class idobject { private $_id; function __construct

Re: [PHP-DEV] Re: Internal casting of objects as array keys

2004-05-25 Thread Aidan Lister
errors out in PHP 4 and not in PHP 4? Thanks, Andi At 11:03 PM 5/25/2004 +1000, Aidan Lister wrote: I'm going to go ahead and post this as a bug, unless there is a reason noone replied... Aidan Lister [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello devs, I'd like

[PHP-DEV] Internal casting of objects as array keys

2004-05-22 Thread Aidan Lister
Hello devs, I'd like to discuss the use of objects as array keys. ?php class idobject { private $_id; function __construct ($id) { $this-_id = $id; } function __tostring () { return (int)$this-_id; } } $blah1 = new idobject(1); $blah2 = new idobject(2); $blah3 = new idobject(3);

[PHP-DEV] php.net

2004-05-21 Thread Aidan Lister
, then okay - otherwise could it please be fixed! My username is aidan. Kind Regards, Aidan Lister -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php.net

2004-05-21 Thread Aidan Lister
Hi Derick, Look harder! I've sent three with the subject master.php.net. I've also asked 2 other people with the same problem to mail in, although it's possible they didn't. Aidan Derick Rethans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 21 May 2004, Aidan Lister wrote

Re: [PHP-DEV] php.net

2004-05-21 Thread Aidan Lister
elsewhere. I've tried this on both firefox and iexplore. Thanks in advance for any assistance you can provide. Daniel Convissor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Aidan: On Fri, May 21, 2004 at 07:36:56PM +1000, Aidan Lister wrote: I'm unable to access any

Re: [PHP-DEV] throwing an exception on failed require

2004-05-08 Thread Aidan Lister
Hehe, shut down Lukas. I'd love to know why file_exists doesn't search the include path like every other file function Derick Rethans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, 8 May 2004, Lukas Smith wrote: I think it would be useful if require would throw an

[PHP-DEV] Re: CVS Account Request: iridium

2004-04-30 Thread Aidan Lister
Yep, this is true. Peter Waller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Referred by aidan - helping out with PEAR Net_GameServerQuery class. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Access

2004-04-23 Thread Aidan Lister
Hi, I applied for CVS access a number of weeks ago, but have had no reply. I'm anxious to get my PEAR Package up. (username: aidan) Has my request been declined, or has no one had a chance to action it. If the latter, when can this be expected to happen? Thank you, Aidan -- PHP Internals -

[PHP-DEV] CVS Account Request: aidan

2004-04-09 Thread Aidan Lister
I have written an approved PEAR package and would like CVS access to maintain the repository. The name of the package is Net_GameServerQuery Proposal Information: http://pear.php.net/pepr/pepr-proposal-show.php?id=34 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,