Re: Could you have a OOP methodology access to array

From: Date: Wed, 03 Sep 2014 21:36:44 +0000
Subject: Re: Could you have a OOP methodology access to array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-323814@lists.php.net to get a copy of this message
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

« previous php.general (#323814) next »