php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14428 range-based regrouping and import ability
Submitted: 2001-12-11 11:53 UTC Modified: 2011-01-01 15:43 UTC
From: foobardotcom at poczta dot onet dot pl Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.1.0 OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: foobardotcom at poczta dot onet dot pl
New email:
PHP Version: OS:

 

 [2001-12-11 11:53 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 15:43 UTC] jani@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2011-01-01 15:43 UTC] jani@php.net
This requires proper RFC and this is also requested in different ways in several other reports so closing as duplicate now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC