On Wed, May 14, 2008 at 8:42 PM, Greg Sabino Mullane greg@endpoint.com wrote:
- Move $var ? true : false check to boolval function
...
+function boolval( $val ) {
return $val ? true : false;
+}
What's the point of this function? Should we start creating things like function equalto( $val1, $val2 ) as well? :)
Whoa, I didn't see that. WTF?