|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[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
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
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.