News for hackers. Stuff that matters.
Re:Union Types have been accepted for PHP 8 by tazard on Saturday November 09, 2019 @11:55PM (#21496465)
That is an old version, the current being https://laravel.com/api/6.x/ but I have to agree, I have found them to be great. There is no reference to the API docs from the main website though, which I have always found odd.
Re:Union Types have been accepted for PHP 8 by dabernathy89 on Monday November 18, 2019 @12:22PM (#21566123)
There is - I guess it's not super easy to find. But if you go to the main documentation page, it's under the "Prologue" heading.