3 ms·
I for one would love to see these replaced or complemented by a more OO syntax like: [1,2,3]->push(..) [3,5,6,]->pop(..) [7,8,9]->map(..) etc..
by Zachhack 15y ago
I for one would love to see these replaced or complemented by a more OO syntax like:
[1,2,3]->push(..)
[3,5,6,]->pop(..)
[7,8,9]->map(..)
etc..
- jonathanyc 15y ago(Un)fortunately, depending on how you look at it, "everything is an object" is left out in PHP. I personally agree with having some non-object values (use one of the Spl* classes if you want something like that).