No, we’re not talking about astronauts here! The spaceship operator in PHP allows you to drastically simplify sorting logic when dealing with complex data structures, such as multidimensional arrays. Let me show you how to use it in this Larabit.
Watch more Larabits on: https://laracasts.com/bits?teacher=lukedowning19
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts Twitter: https://twitter.com/laracasts
Jeffrey Way Twitter: https://twitter.com/jeffrey_way