143 Commits
Author SHA1 Message Date
Gina Peter BanyardandArnaud Le Blanc 2f7b01b86c Zend: always populate error pointer on failure of zend_is_callable() (#24435)
* Zend: always populate error pointer on failure

Most of the code base expects an error to be set if a char* is provided, as this used to be always the case. It no longer was the case since the partially supported callables were deprecates as the deprecation could be promoted to an exception in which case we skipped allocating a char*.

The simple fix, allocate a char* even in case of an exception so callers don't need to check if it still NULL. This fixes some error messages at the same time.

* tree: simplify error handling for failed zend_is_callable() calls

* docs: clarify docs for zend_is_callable()

---------

Co-authored-by: Arnaud Le Blanc <365207+arnaud-lb@users.noreply.github.com>
2026-10-20 17:59:02 +01:00
Rafia Minhaj 03108515a6 [skip ci] Fix typos in PHP internal documentation (#24334)
- writing-tests.rst: Infact -> In fact
- writing-tests.rst: isnt't -> isn't
- fci-fcc.rst: transfered -> transferred
2026-10-14 22:18:14 +02:00
Gina Peter BanyardandArnaud Le Blanc 4a41768eec docs: write docs for FCI/FCC structs and PHP callables API. (#23663)
Partly based on my own writing for the PHP Internals Book:

- https://github.com/phpinternalsbook/PHP-Internals-Book/pull/135
- https://github.com/phpinternalsbook/PHP-Internals-Book/pull/137
- https://github.com/phpinternalsbook/PHP-Internals-Book/pull/146

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
2026-10-11 23:04:28 +01:00
Noah Webber 5a9d50dc61 Fix typos, grammatical errors, and refactor misspelled local identifiers (#23803)
Correct typographical and grammatical mistakes across docs, comments, and build tools. Refactor local identifiers childrens to children in RecursiveFilterIterator and sav to saved_char in sapi_header_add_op.
2026-09-24 15:56:13 +02:00
Daniel Scherzer ddea064a33 release-process.md: update list after last element was removed
Move the "and" and add a period
2026-09-23 11:09:23 -07:00
Matteo Beccati 7f8a74fb29 master is now for PHP 8.7.0-dev 2026-09-22 13:36:46 +02:00
Calvin Buckley 1bb25ce0f5 Update paths for RM docs (#23486)
After php/web-php@b24d3106d4, the paths to
some files changes. After php/web-php#1998 is merged to fix the tools
that generate these files, this should be merged as well.
2026-09-08 15:59:02 -03:00
NickSdot 1f1570906e docs: Clarify --CREDITS-- section (GH-23215) 2026-08-11 12:06:12 +02:00
NickSdot 1d2ea5ce22 Run tests in parallel by default (#22939)
Runs the test suite in parallel by default; automatically selects up to 10 workers. Explicit -j1 remains the opt-out to run tests serial. Smaller batches improve balancing.
2026-08-10 11:33:43 +02:00
Volker Dusch 4568be02cf RM docs: Update security release procedure (#22953) 2026-07-31 11:36:41 +02:00
NickSdot c5cdea5ada docs/source/miscellaneous/writing-tests.rst: remove misplaced "is" (#22904) 2026-07-27 15:16:34 -07:00
Weilin Du 8334703dd9 CI: Fix writing-tests.rst format to pass doc rstfmt CI
This fixes https://github.com/php/php-src/actions/runs/30206101130/job/89804320499?pr=22799
2026-07-27 00:00:35 +08:00
Weilin Du 904698716e [skip ci] Fix typo in writing-tests.rst 2026-07-18 03:48:51 +08:00
Weilin Du 838a9c2ef8 Doc: Fix typo in zend_string.rst documentation 2026-07-12 00:11:52 +08:00
Weilin Du 6e20480250 Doc: Rename ZSTR_INIT to ZSTR_INIT_LITERAL in documentation
We don't have a macro named ZSTR_INIT. This should be ZSTR_INIT_LITERAL instead.
2026-07-11 17:06:34 +08:00
Calvin Buckley 4b945820f3 Remove submodule dependency from web-php in release process (#22535)
The submodule was problematic and removed in php/infrastructure#1928.
Update the release process documentation to reflect this, or RMs
(sorry...) will accidentally re-add the submodule following the process.

Change suggested by @DanielEScherzer on Slack.
2026-07-01 11:45:59 -03:00
Weilin Du 2f3a1ec920 [skip ci] docs/release-process.md: Update a link to php 8.6 release schedule
Add the PHP 8.6 wiki TODO page to the release process schedule links.
2026-06-30 21:17:16 +08:00
Weilin Du 44b11b75f2 ext/Intl: Fix IntlIterator::current() on invalid iterators (#22495)
IntlIterator::current() could expose an undefined zval when called before
theiterator is positioned, or after the iterator becomes invalid.

In these cases we directly returns the undefined zval and cause to a UNKNOWN:0
output in userland. Generally, a NULL output would be more proper.
2026-06-28 17:36:38 +08:00
Daniel Scherzer f97ff59742 zend_string docs: add missing apostrophe
[skip ci]
2026-05-27 15:15:22 -07:00
Volker DuschandIlija Tovilo 9898293af9 Release Process: Add commands for merge up (#22096)
As we list all other commands to run, this was added for consistency

Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
2026-05-26 23:04:30 +02:00
Derick Rethans dae7cadbe8 Update instructions for new Release Managers 2026-04-22 12:10:15 +01:00
Ben Ramsey 1b93524e0d license-update: docs source headers
RFC: https://wiki.php.net/rfc/php_license_update
2026-04-11 21:20:54 -05:00
Ilija Tovilo 1b0652fd10 Merge branch 'PHP-8.5'
* PHP-8.5:
  Rename nightly_matrix.php to matrix.php
2026-02-18 19:52:26 +01:00
Daniel Scherzer af69d3a0f2 release-process: update based on recent 8.5 releases and discussions (#19939) 2026-02-16 21:43:10 -08:00
Djim Schaap 81ef9770be Fix typo in writing-tests.rst (GH-21133) 2026-02-04 23:03:29 +01:00
Weilin Du 4f793ba1c3 [skip ci] Fix duplicate words typos (GH-20800) 2025-12-31 02:22:09 +01:00
René Schleusner 26e0bfa341 Fixed some typos in docs and fpm pool config (GH-20587)
* Fix some typos in docs

* Fix typo in output header example of fpm pool config
2025-12-05 20:20:40 +01:00
Gina Peter Banyard 9b27fdbe52 Normalize version number strings 2025-08-24 12:00:31 +01:00
Gina Peter Banyard fb27ff958c Clarify usage of @deprecated annotation in stubs
To indicate that this was used prior to the \Deprecated attribute being usable on those symbols.
2025-08-24 12:00:31 +01:00
Derick Rethans a9ab62d54d Add a brief section on options to the test runner, and -j 2025-08-06 10:05:27 +01:00
Derick Rethans 0c82801384 Setting TEST_PHP_EXECUTABLE hasn't been necessary for ages. 2025-08-06 09:48:46 +01:00
Jakub Zelenka e1cf66b6cb Fix release process feature freeze info (#19148) 2025-07-30 23:51:28 +02:00
Arnaud Le BlancandTim Düsterhus 7b4c14dc10 Make OPcache non-optional
This removes the --enable-opcache/--disable-opcache configure switch. OPcache
is now always builtin. The default value of opcache.enable and
opcache.enable_cli is unchanged.

RFC: https://wiki.php.net/rfc/make_opcache_required

Closes GH-18961.

Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com>
2025-07-27 09:40:22 +02:00
Volker Dusch 189b933dd4 RM docs: Update social media annoncement process (#19159) 2025-07-19 01:18:39 +02:00
Peter Kokot aa366b5113 Update re2c minimum versions in Windows checks and docs (#19039) 2025-07-07 07:54:29 +02:00
DanielEScherzer 0cdb5d0aa1 release-process: update based on 8.5.0alpha1 announcement (#19028)
* Add reminder to replace outdated information in the announcements
* Add instruction for new RMs to subscribe to the lists they need to email
2025-07-04 11:30:31 -07:00
DanielEScherzer f906fad985 release-process: update based on 8.5.0alpha1 (#19004)
* Clarify that placeholders with `RCn` are not just for release candidates
* Only PHP `X.Y.0` has pre-GA releases, no need to use `X.Y.Z`
* Before `PHP-X.Y` has been created, `master` needs to be pushed for NEWS
2025-07-02 02:48:05 -07:00
DanielEScherzer 642d729847 release-process: update some confusing parts (#18934)
Update based on my training with Pierrick
* dates should correspond to when releases are released, not tagged
* qa.php.net is no longer used
* bugs.php.net is no longer used
* multiple commits to web-php can be combined
2025-07-01 13:24:44 -07:00
DanielEScherzer e1181475e1 release-process: update pre-release cycle docs (#18805)
https://wiki.php.net/rfc/release_cycle_update
2025-06-09 12:22:07 -07:00
DanielEScherzer 3f03f7ed3d [RFC] Add support for attributes on compile-time constants
https://wiki.php.net/rfc/attributes-on-constants
2025-04-29 11:53:09 -07:00
Derick Rethans 0029d2b08b Turn off font ligatures in code in documentation 2025-04-25 10:30:43 +01:00
Derick Rethans 681ef77734 Convert https://qa.php.net/running-tests.php 2025-04-25 10:09:52 +01:00
Derick Rethans eb048ce0c6 Add samples from original QA site 2025-04-25 10:09:52 +01:00
Derick Rethans ec288b1b07 Convert https://qa.php.net/write-test.php and https://qa.php.net/phpt_details.php 2025-04-25 10:09:52 +01:00
Sergey Panteleev 090b1cf229 [ci skip] Update PHP Release Process (#18342) 2025-04-24 18:53:11 +03:00
Derick Rethans 0e1bbf9259 Add PHP 8.4 to the list 2025-04-23 17:44:17 +01:00
Eric Mann 27b83e3095 Change RC downloads scp instructions as per the new jump box documentation 2025-04-22 06:26:19 -07:00
John Bampton 4e44efaccb docs: fix spelling in stubs.rst (GH-18220) 2025-04-01 12:51:02 +02:00
Jakub Zelenka 370f24290f [ci skip] Fix example and add NEWS merging info to release process (#18159) 2025-03-27 22:38:52 +01:00
DanielEScherzer 1a468b6efc Docs: add a page about zend_constant (GH-17072) 2025-02-14 12:49:57 +01:00