[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/standard array.c

2004-11-20 Thread Dirkjan Ochtman
If it works in count(), will it work in sizeof() as well? Regards, Manuzhai -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP-DEV] Proposal: Array syntax

2003-11-05 Thread Dirkjan Ochtman
I like it a lot as well. Having the [] syntax also support range()-like calls would be a very nice idea as well. :D Regards, Manuzhai "Mike Robinson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > s0niX wrote: > > > The problem i see when using array() (or list()) is that it nearl

[PHP-DEV] Re: Array Keys

2003-11-05 Thread Dirkjan Ochtman
If you really wanted to do this you could use a serialize()d version of the object as the key. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Now that objects are accounted for by references and id, it should be > possible to use them as keys in an associative array. That might be a

Re: [PHP-DEV] database driver: no more rows

2003-10-23 Thread Dirkjan Ochtman
> While I think about it: There would be one solution that wouldn't break BC: > adding a function that would clear the last error. Then you could manually > clear an error after you have read it. I could see that mysql_reset_error() would be useful. + 1! Regards, Manuzhai -- PHP Internals - PH

[PHP-DEV] Re: Congratulations You Win

2003-10-14 Thread Dirkjan Ochtman
Heh, let's visit them... Oh wait, that street doesn't exist! No wonder they have "BS" in their zipcode. Regards, Manuzhai "Francis Weeny" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS. ALFONSTRAAT B56, 1002 BS AMSTERDAM, THE NETHERLANDS. T