Re: [RFC] skipping optional parameters

From: Date: Wed, 18 Apr 2012 06:40:52 +0000
Subject: Re: [RFC] skipping optional parameters
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-60156@lists.php.net to get a copy of this message
Hi! > NULL or empty string? I.e. will optional parameters always get NULLs > or their default values? Their default values. That's the whole point of it - if I wanted just nulls, I could put nulls in the call, but if I want the actual default, I'd have to find the definition and copy-paste from there. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#60156) next »