Re: Skipping function arguments!

From: Date: Thu, 28 Apr 2005 17:29:18 +0000
Subject: Re: Skipping function arguments!
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-214121@lists.php.net to get a copy of this message
Vedanta Barooah wrote:
Well that was simple, but this is what i am trying to solve: if you refer to the php documentation for ldap_open() function it says: resource ldap_search ( resource link_identifier, string base_dn, string filter [, array attributes [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]]) if you look at the 4th and the 6th arguments to the function attributes is an array while sizelimit is an int, i want to pass the sixth element without passing the 4th and the 5th ... how do i do that??
you can do it only with user defined functions. so the answer is no, you can't do that.

« previous php.general (#214121) next »