php / doc-en

English PHP documentation
500 stars 729 forks source link

PHP 8.3 documentation tracker #2796

Open Girgias opened 1 year ago

Girgias commented 1 year ago

Pages which need to be added/modified for complete documentation of PHP 8.3:

Based of the migration guide: https://www.php.net/manual/en/migration83.php (#2780):

Note This issue is still a Work In Progress

Core

SAPI

Extensions

Classes

New Constants

Other Changes

Girgias commented 1 year ago

Note: I did not add the WeakMap, the Zend Max Execution Timers, and the call stack overflowing to the todo list from the BC Break page, as those are engine changes to just make it more sensible.

TimWolla commented 1 year ago

New methods:

  • [ ] Random\Randomizer::getBytesFromString()
  • [ ] Random\Randomizer::nextFloat()
  • [ ] Random\Randomizer::getFloat()

These already have stubs and I've started writing the first bits and pieces of the actual contents.

Girgias commented 1 year ago

Somehow looks like #2602 doesn't have any mention in the upgrading document?

nielsdos commented 1 year ago

Somehow looks like #2602 doesn't have any mention in the upgrading document?

Going by memory. This was a fix for https://bugs.php.net/bug.php?id=47137. I.e. the constant was documented on the libxml constant page, but it didn't work for the DOM save methods. At one point the docs were updated on those save pages to mention only one option worked. When I fixed it, I felt like it was on the border of a fix vs feature request. That combined with the fact it was a non trivial change made me decide to only put the fix in master.

Girgias commented 1 year ago

Somehow looks like #2602 doesn't have any mention in the upgrading document?

Going by memory. This was a fix for https://bugs.php.net/bug.php?id=47137. I.e. the constant was documented on the libxml constant page, but it didn't work for the DOM save methods. At one point the docs were updated on those save pages to mention only one option worked. When I fixed it, I felt like it was on the border of a fix vs feature request. That combined with the fact it was a non trivial change made me decide to only put the fix in master.

ACK.

TimWolla commented 11 months ago

Deprecated: assertions: The assert_options() function is now deprecated. The ASSERT_ACTIVE, ASSERT_BAIL, ASSERT_CALLBACK, ASSERT_EXCEPTION, and ASSERT_WARNING constants have been deprecated. The assert.* INI settings have been deprecated.

I believe all this has been resolved

mumumu commented 11 months ago

Missing the Other Changes page

I've added it.

haszi commented 9 months ago
* [ ]  DOMNameSpaceNode::contains()

I've checked the PHP-8.3.2 branch and the PR that was supposed to add this method but couldn't find DOMNameSpaceNode::contains. Maybe this was added to NEWS accidentally?

nielsdos commented 9 months ago
* [ ]  DOMNameSpaceNode::contains()

I've checked the PHP-8.3.2 branch and the PR that was supposed to add this method but couldn't find DOMNameSpaceNode::contains. Maybe this was added to NEWS accidentally?

Err yes, this method doesn't exist on that class, only on DOMNode. In fact it wouldn't make sense to add it on DOMNameSpaceNode... So I added this to NEWS by mistake.