Function Overloading???

From: Date: Wed, 02 Aug 2000 14:18:55 +0000
Subject: Function Overloading???
Groups: php.general 
Request: Send a blank email to php-general+get-9696@lists.php.net to get a copy of this message
Hi, I am looking at a source someone wrote as a simple HTTP agent. This guy has an extra paramater with all his functions. If you want to take a look at http://www.zend.com/tips/tips.php?id=34&single=1 . Every function has an extra argument in the end which is the number one (1). Here is an example: $fp = pfsockopen( $host, 80, &$errno, &$errstr, 120 , 1); or $output .= fgets( $fp, 1024 , 1); or fclose( $fp , 1); This argument is not documented. Does anyone know what that means? Michael Krznaric RAND Worldwide Webmaster 905-625-2000 x 2325

« previous php.general (#9696) next »