When will the manual be updated?
Specifically Attributes:
https://www.php.net/releases/8.0/en.php just refers to the RFC (https://wiki.php.net/rfc/attributes_v2).
The RFC doesn’t have the right syntax and still has <<PhpAttribute>>
. (It’s now #[Attribute]
)
The php release announcement page also shows an usage example, without explaining anything:
#[Route("/api/posts/{id}", methods: ["GET"])]
what is methods: ["GET"]
? named argument, or setting public methods property?
reflectionObject::export seems to have been removed in PHP 8, but I see no mention of this anywhere
TL;DR: when will the php website be updated properly?
Pull requests welcome. Feel free to pick up a task.
When we have time for it.
Nobody is paid to work on the PHP website/documentation.
It’s an all volunteer work-in-progress. It’s improving daily, but will improve faster with either more people or funding.
Members
Online