Bug #70112 [Com]: [RFE] Allow "dirname" to go up various time
| From: | jpauli@php.net | Date: | Fri, 24 Jul 2015 16:02:26 +0000 |
| Subject: | Bug #70112 [Com]: [RFE] Allow "dirname" to go up various time | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194684@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70112&edit=1
ID: 70112
Comment by: jpauli@php.net
Reported by: remi@php.net
Summary: [RFE] Allow "dirname" to go up various time
Status: Open
Type: Bug
Package: Unknown/Other Function
Operating System: irrevelant
PHP Version: 7.0.0beta1
Block user comment: N
Private report: N
New Comment:
I like it.
I'm +1.
It might be a little bit late to contribute it for 7.0, though it is very tiny and self contained.
This is the PHP7 RMs decision now.
Previous Comments:
------------------------------------------------------------------------
[2015-07-24 08:39:00] remi@php.net
The following patch has been added/updated:
Patch Name: 0003-improve-loop-condition-to-avoid-hang-on-large-value.patch
Revision: 1437727140
URL: https://bugs.php.net/patch-display.php?bug=70112&patch=0003-improve-loop-condition-to-avoid-hang-on-large-value.patch&revision=1437727140
------------------------------------------------------------------------
[2015-07-22 13:58:31] rowan dot collins at gmail dot com
Ah, that makes sense. English is particularly irrational when it comes to abbreviations, and tends
to use fossilized Latinisms. We might say "no. 4", but probably not "what no. is
that?", I guess because "no" is also a word...
Anyway, +1 on including this feature, though I'm not sure if it should be 7.0 or 7.1 at this
point.
------------------------------------------------------------------------
[2015-07-22 12:39:10] remi@php.net
The following patch has been added/updated:
Patch Name: 0002-rename-arg-nb-to-levels-frenchism.patch
Revision: 1437568750
URL: https://bugs.php.net/patch-display.php?bug=70112&patch=0002-rename-arg-nb-to-levels-frenchism.patch&revision=1437568750
------------------------------------------------------------------------
[2015-07-22 12:30:36] remi@php.net
nb stands for number... but false friend from French, sorry.
I fine with any other name, like "levels"
------------------------------------------------------------------------
[2015-07-22 12:19:49] rowan dot collins at gmail dot com
Nice idea, but what on earth does "$nb" mean? I know parameter names of internal functions
only really exist in documentation, and can be easily changed, but we might as well try to make it
obvious. How about "$levels", or "$climb_levels", or spell out whatever
"nb" stands for (I'm not being sarcastic, I'm genuinely not sure)?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70112
--
Edit this bug report at https://bugs.php.net/bug.php?id=70112&edit=1