Re: Suggestion for release the next version of php

From: Date: Tue, 04 Jun 2013 09:35:46 +0000
Subject: Re: Suggestion for release the next version of php
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15947@lists.php.net to get a copy of this message
A global namespace will be free from the big number of functions......... It is* really need* 4 all new Web 2.0 projects and will be similar java, ruby, python and another alternative languages :) 2013/6/4 Георгий Иванов <xercool1@gmail.com> > Hi! > > My name is George. > I know that I write little wrong location for my letter, but I have a > great idea for a new release of PHP. > > I propose to reorient language php to object-oriented, modify the > functions to support OOP layer and API procedural layer. > > Here is a simple example: > > API (procedural) OOP (object-orient) > array_merge Array::merge -> > array_merge(obj, []) > array_count Array::count -> > array_count(obj) > array_shift Array::shift -> > array_shift(obj) > array_unshift Array::unshift -> > array_unsfift(obj) > > str_replace String::replace -> > str_replace(obj, [], []) > > I think it will be a revolution for PHP6, if it will be possible to > specify in php.ini: > > php_api_functions = On; - use the old "procedural approach" in php - to > support existing projects and new php. > > Thus, it will be possible to write code for a lightweight like the > language better than Ruby, as well as to implement lazy loading of objects > (initialization). > > That's the person I really want to see the language of PHP. Programming in > php for more than 7 years. > > Thank you! Please, reply if that is possible. > > Regards, George >

« previous php.webmaster (#15947) next »