Re: [PHP-DEV] congrats and thanks

2004-07-15 Thread Guy N. Hurst
n is applicable to a function, extensive cross-referencing, and being up-to-date on the most recent changes, among other things. Thank you. Guy N. Hurst Mike Robinson wrote: To all, Congratulations are in order. PHP5 is a monumental testament to open source. More importantly, it's also

Re: [PHP-DEV] what happened to that new isset() like language construct

2004-07-09 Thread Guy N. Hurst
ET['x']); // family: floatval, intval, strval defaultval() // $v = defaultval($_GET['v'],0); // $x = defaultval($_GET['x']); shadowval() // $v = shadowval($_GET[&#x

Re: [PHP-DEV] Get value if set, or default

2003-08-18 Thread Guy N. Hurst
") { } // vs if (!empty($_POST['qty']) || (isset($_POST['qty']) && $_POST['qty']=="0")) { } So, did I miss something in the archives where this was requested and shot down? Either way, thanks for your time, and for helping to make PHP what it is today. Guy N. Hurst -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Get value if set, or default

2003-08-18 Thread Guy N. Hurst
o access the isset() function. Coupled with the logic and string functions, it takes a significant performance hit. Since I use this inside loops, I would very much appreciate a language-level implementation similar to isset(), which doesn't require that a variable be passed in as a string repre