Bug #14428: range-based regrouping and import ability
| From: | foobardotcom at poczta dot onet dot pl | Date: | Tue, 11 Dec 2001 16:53:23 +0000 |
| Subject: | Bug #14428: range-based regrouping and import ability | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73093@lists.php.net to get a copy of this message | ||
From: foobardotcom@poczta.onet.pl
Operating system: all
PHP version: 4.1.0
PHP Bug Type: Feature/Change Request
Bug description: range-based regrouping and import ability
It would be nice, if some 'future-thinking' group od PHP developers will
convert all, for example string functions into String class. I mean, that
for example instead of using strpos($mystring, "b") it would be nice to
make it: String::pos($mystring, "b") or to create Java-like objects, so:
$mystring->pos("b") will be the best.
If functions will be used, then should be imported, like in Perl or Java:
import(::String). Of course, you can use pos(), but now take care about
current package and it's function pos(), like in Perl or Java.
--
Edit bug report at: http://bugs.php.net/?id=14428&edit=1