Re: Could you have a OOP methodology access to array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vitold S wrote:

> Do u know about planning or implementing OOP methdology access to array
> methods in PHP in future. Like show code later:
> 
> $a = new Array();
> $a->append("hello");
> $a->shift();
> $p = $a->pop();
> 
> $b = Array::fill(fill_char="*", count=20)
> $b->pop()

See
<http://nikic.github.io/2014/03/14/Methods-on-primitive-types-in-PHP.html>.

-- 
Christoph M. Becker



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux