Re: PHP_Compat, signature changes

From: Date: Sat, 28 May 2005 17:34:56 +0000
Subject: Re: PHP_Compat, signature changes
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37854@lists.php.net to get a copy of this message
Hi, Daniel Convissor schrieb:
If they're new, optional arguments at the end of the list, you can use func_get_args() to deal with them on an optional basis. mkdir() is part of PHP, he wants to provide a new function that replaces the built-in mkdir() function and has the same signature as the version in PHP5.
I don't think that this can be added in any useful way to PHP_Compat. As soon as you use a new name, it cannot be used with applications that do not know anything about PHP_Compat as they will always call the built-in function. Stephan -- http://www.php-tools.net http://www.schst.net http://pear.php.net

« previous php.pear.dev (#37854) next »