You are in: home / community / @decerebrated
Now that php has first class functions, there is no reason not to use usort(). array_multisort() should probably be deprecated. People coming from pretty much any language are likely to understand usort, but I am baffled by array_multisort. Posted in Sorting Multi-Dimensional Arrays in PHP. Fri, 01 Jul 2011 at 03:27:39 GMT
Now that php has first class functions, there is no reason not to use usort(). array_multisort() should probably be deprecated. People coming from pretty much any language are likely to understand usort, but I am baffled by array_multisort.
Posted in Sorting Multi-Dimensional Arrays in PHP.
Fri, 01 Jul 2011 at 03:27:39 GMT
Latest Comments
1