[EMAIL PROTECTED] wrote:

I dont understand, i assume that would check if name was set, i also set
functions like

function foo($name,$bar = null) {

}

so therefore bar doesnt need to be inputted, seeing as i set it to null
would i check if $bar===true ? or just isset($bar ) ?




when you have set $bar in that fashion then isset($bar) will come out as false.


And $bar === true will only become true, if $bar is true, look at table K-3 here http://www.php.net/manual/en/types.comparisons.php

/Martin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to