Edit report at http://bugs.php.net/bug.php?id=14428&edit=1
ID: 14428 Updated by: [email protected] Reported by: foobardotcom at poczta dot onet dot pl Summary: range-based regrouping and import ability -Status: Open +Status: Bogus Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: all PHP Version: 4.1.0 Block user comment: N Private report: N New Comment: This requires proper RFC and this is also requested in different ways in several other reports so closing as duplicate now. Previous Comments: ------------------------------------------------------------------------ [2001-12-11 11:53:22] foobardotcom at poczta dot onet dot pl 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 this bug report at http://bugs.php.net/bug.php?id=14428&edit=1
