Luke Downing’s Larabits – Exploring PHP’s Spaceship Operator

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: https://laracasts.com

Laracasts Twitter: https://twitter.com/laracasts
Jeffrey Way Twitter: https://twitter.com/jeffrey_way

Source: https://www.youtube.com/watch?v=qGV1lxbpd44

Leave a Reply

Your email address will not be published. Required fields are marked *