Req #62783 [Opn]: Request of using methods for core types.
| From: | hinikato at mail dot ru | Date: | Thu, 09 Aug 2012 00:50:39 +0000 |
| Subject: | Req #62783 [Opn]: Request of using methods for core types. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172513@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62783&edit=1
ID: 62783
User updated by: hinikato at mail dot ru
Reported by: hinikato at mail dot ru
Summary: Request of using methods for core types.
Status: Open
Type: Feature/Change Request
Package: Class/Object related
-Operating System: Windows 7
+Operating System:
PHP Version: 5.4.6RC1
Block user comment: N
Private report: N
New Comment:
Removed the non-relevant field for the issue description.
Previous Comments:
------------------------------------------------------------------------
[2012-08-09 00:38:00] hinikato at mail dot ru
Description:
------------
I propose to introduce new methods for the core PHP types like arrays, strings, floats etc? For
example it would be super cool to write something like this:
[1, 2, 3]->sort()
"Hello, World"->lowercase()->ucfirst() etc.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62783&edit=1