PHP_Compat, signature changes

From: Date: Sat, 28 May 2005 14:39:20 +0000
Subject: PHP_Compat, signature changes
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37852@lists.php.net to get a copy of this message
Hello devs, There are a number of functions for which the function signature has changed. For example, microtime now has an added boolean, mkdir has a recursive switch, etc. I can replicate these changes, but people running version 4.3.11 and wanting the 5.0.3 function signature won't be able to load the function. There's a couple of options I'm considering... a) Functions with changed signatures live in a class. PHP_Compat_Component::microtime(...); b) Functions have php_compat affixed to them. php_compat_microtime(); c) Functions have another appropriate abbreviation, eg. phpc_microtime(); d) Functions have an underscore, or something affixed, _microtime(); If you have any suggestions, please let me know. Kind regards, Aidan

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