Re: [RFC] skipping optional parameters

From: Date: Tue, 17 Apr 2012 23:55:50 +0000
Subject: Re: [RFC] skipping optional parameters
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-60137@lists.php.net to get a copy of this message
Hi! > I'm thinking undefined like JavaScript. Well, in PHP null is closest, but a bit different. I.e. in JS undefined a is an error, but a[0] where a is empty is "undefined". In PHP in both cases you get null and notice, and in both cases you can use isset/empty to check for it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#60137) next »