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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri Dec 27 00:01:30 2024 UTC