Re: [RFC] skipping optional parameters

From: Date: Wed, 18 Apr 2012 06:46:37 +0000
Subject: Re: [RFC] skipping optional parameters
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60158@lists.php.net to get a copy of this message
18 апреля 2012 г. 11:40 пользователь Stas Malyshev <smalyshev@sugarcrm.com> написал: > 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. Thank you, that's what I wanted to hear. > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 -- Regards, Shein Alexey

« previous php.internals (#60158) next »