note 47709 added to function.basename

From: Date: Fri, 26 Nov 2004 01:34:16 +0000
Subject: note 47709 added to function.basename
Groups: php.notes 
Request: Send a blank email to php-notes+get-81041@lists.php.net to get a copy of this message
re antrik's notes on dir name at leaf I agree with you, the php documentation is misleading in this respect. I suspect the functionality is a unix hangover. Take a look at the man page for "basename". Irrespective I would think that some aliasing of function names (with something sensible like "leafname") might be appropriate for people with non unix backgrounds ---- Manual Page -- http://www.php.net/manual/en/function.basename.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47709 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47709&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47709&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47709&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47709&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47709&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47709&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47709&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81041) next »