Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value)

2008-06-18 Thread Fabrice VIGNALS
In mathematic, equal meen the same value AND the same nature. The follow fact could be frustrating : Code : Output : you must understand than 2 = 2 - Original Message - From: "Stanislav Malyshev" <[EMAIL PROTECTED]> To: "Chris Stockton" <[EMAIL PROTECTED]> Cc: Sent: Monday, June 16

Re: [PHP-DEV] Re: setcookie() and Max-Age

2004-08-18 Thread Fabrice Vignals
Good new for this feature. I think array in arguments is not so good, for documentation + comprehension + syntax code Documentation approximate Syntax : bool SetCookie( string $name, [string $value], [array $array('Max-Age'=> int $max-age, ['Comment'=> string $comment], > ['Path'=> relative||ab

[PHP-DEV] Ignore

2004-07-03 Thread Fabrice Vignals
Ignore

[PHP-DEV] PHP5 MySQL Win32

2004-01-09 Thread Fabrice Le Coz
Hi folks, I 've install the last php Snapshot (php5-win32-200401081930) and have some problem to load the php_mysql.dll extension. when I start Apache, I have the following message : PHP Startup : Unable to load dynamic library 'c://php_mysql.dll' - La procédure spécifiée est introuvable

[PHP-DEV] RE : [PHP-DEV] variable_exists() patch

2003-08-19 Thread fabrice
You may consider to use "empty" function that check if isset and not NULL And also "!empty" inverse function. Empty($var) ? DoSomethingIfNotSetOrNull() : DoOther(); Also it is true, I use a personnal function to check var ... Something like that Function variable_exists( $var ) { $retur

[PHP-DEV] Pb __clone method crash

2003-03-20 Thread Fabrice Le Coz
Hi, return of the __clone() method crash. name = $name; } function __clone() { echo "cloning ...\n"; $this->name = "test ".$that->name; } } $test = new test("essai"); $test1 = $test; $test2 = $test->__clone(); $test1->name = "arthur"; echo "test : $test->name\n"