Bug #12896 Updated: is_directory should point to is_dir

From: Date: Mon, 17 Jun 2002 21:50:43 +0000
Subject: Bug #12896 Updated: is_directory should point to is_dir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10950@lists.php.net to get a copy of this message
ID: 12896 Updated by: mikep@oeone.com Reported By: mikep@oeone.com Status: Bogus Bug Type: Feature/Change Request PHP Version: 4.0.6 New Comment: You don't need more names for functions, but having consistently named functions was basically the point of this bug. The is_dir function is different from all the other is_ file functions in that it doesn't contain the complete word. At least in the future it should be noted that its easier for programmers if all the functions are named in a consistent manner. By the way, I would also like to point out that is_executable contains more letters than is_directory, yet is_dir is shortened and is_executable is not. Previous Comments: ------------------------------------------------------------------------ [2002-06-17 16:12:00] sniper@php.net No, we don't really need more names for same functions. is_dir() is short and nice. ------------------------------------------------------------------------ [2001-08-22 10:44:06] sniper@php.net reclassified. ------------------------------------------------------------------------ [2001-08-22 09:50:22] mikep@oeone.com For the sake of consistency, the function is_directory should be made and should be the same as is_dir(). All the other is_* functions contain full word names. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12896&edit=1

« previous php.bugs (#10950) next »