php Programming Glossary: numboys
PHP Typecasting - Good or bad? http://stackoverflow.com/questions/3695295/php-typecasting-good-or-bad To illustrate this point php function displayRoomCount numBoys numGirls we'll assume both args are int check boundary conditions.. assume both args are int check boundary conditions if numBoys 0 numGirls 0 throw new Exception 'argument out of range' perform.. 'argument out of range' perform the specified logic total numBoys numGirls print total people numBoys boys and numGirls girls..
|