PHP digest — 8 October 2026
PHP 8.6.0RC3 available for testing
The release managers announced PHP 8.6.0RC3 on
8 October (git tag php-8.6.0RC3). It is a test release, not for production. RC4 is expected on
22 October. The PHP 8.6 timetable lists RC5 on 5 November and
GA on 19 November 2026, and says releases may be added or removed. It also marks RC1 as skipped,
with RC2 on 24 September.
Single binary RFC v0.2: the CLI goes into php-fpm instead
Two days after version 0.1, the single binary RFC
was rewritten as version 0.2, following replies on the list. FPM is no longer linked into php.
Instead, whenever both SAPIs are built, php-fpm also contains the CLI and runs as the CLI when
invoked as php, optionally followed by a digit (for example php8.7 or php83). There is no configure option, no
--fpm flag and a single 2/3 vote; php itself is unchanged. The RFC recommends that a
single-executable distribution install it as php with php-fpm as a symlink, so that PHP_BINARY
still runs the CLI. The new implementation is
PR #24192 (open). Tim Düsterhus
objected that choosing the SAPI by executable name
is surprising and hard to discover, and prefers an explicit flag such as --fpm or --mode=fpm.
Still under discussion and proposed for PHP 8.7. Details are on the RFC page.
Symfony 8.2 adds EntityExists, Cron and Audio validation constraints
A Symfony blog post describes three new constraints for the upcoming 8.2:
Symfony\Bridge\Doctrine\Validator\Constraints\EntityExists(#63483) looks up an identifier, for example one in a DTO, and reports a violation if no entity matches. Options includeentityClass,identifierFieldandrepositoryMethod. WithrepositoryMethod, any truthy result counts as "exists". As with most constraints,nulland empty strings pass, so combine it withNotBlankif the value is required.Assert\Cron(#64538) uses a real cron parser, so it rejects values that only look valid, such as60 * * * *or*/0 * * * *.MODE_STANDARDaccepts only five-field expressions.MODE_HASHEDalso accepts the Scheduler component's hashed forms, such as# # * * *and#daily. It requiresdragonmantank/cron-expression.Assert\Audio(#66143) is the audio counterpart of the Video constraint added in 7.4. It extendsFile, andmimeTypesdefaults toaudio/*. Its checks cover duration, bitrate, sample rate, channel count, codec and container. Any of these checks needs the Process component and FFmpeg'sffprobebinary. Unlike Video, it does not restrict codecs or containers unless you set the allowed lists.
The source is the project's own announcement of features for an unreleased version.
Draft RFC: an RFC 4180 CSV extension (ext/csv)
On 8 October a contributor asked internals for RFC karma
for a new ext/csv extension, and karma was granted
later that day. At 17:06 UTC the RFC page appeared as a
Draft (version 1.0, author Damian Jóźwiak), with PR #24199
as its implementation. It proposes an always-enabled extension in the Csv\ namespace, based on
Gina P. Banyard's girgias/csv. It has six functions (such as Csv\array_to_row() and
Csv\collection_to_file()) and a lazy Csv\LazyLaxCollection reader. They follow RFC 4180 by
default: no escape character, locale-independent parsing, multibyte delimiters and exceptions instead
of false. The RFC presents it as the replacement for the SplFileObject CSV methods deprecated in
PHP 8.6, and targets the release after 8.6. There is no discussion thread or vote yet. Details are on
the RFC page.
PHPStan 2.3.1 cuts the package to about a quarter of its size
PHPStan 2.3.1, released at 21:10 UTC, ships
the Turbo extension as a shared core plus a thin per-PHP-version extension. The release notes say the
download shrinks from 104 MB to just under 28 MB, and the unzipped size in vendor/ from 268 MB to
87 MB. They also say performance is unchanged. Linux ZTS Turbo builds now cover PHP 8.3–8.5, and the
phpstan/turbo PIE package allows PHP 8.6. Sizes are the maintainer's figures. See the
PHPStan 2.3 page.
PHPUnit hardens its output for coding agents
A PHP Foundation post by Sebastian Bergmann maps recent PHPUnit changes to the OWASP Top 10 for Agentic Applications. The point is that a terminal and an agent reading the raw bytes can see different results.
- Control characters, DEL, C1 controls and Unicode bidirectional formatting characters in
test-controlled strings are shown as visible
\u{NNNN}escapes, not stripped. The 12.5 changelog lists this under 12.5.36 (25 September). - Compact-output record headers are always one line, so a data set name cannot forge a record for another test. The post says record bodies can still contain lines that look like headers. It says the exit code and machine-readable logs are the verdict, not the printed text.
--timeoutin PHPUnit 13.4 ends a run cleanly with exit code 124 and still writes logs.- The unreleased 13.5 adds
--show-effective-configuration, which prints what aphpunit.xmlwould execute without running it. Its changelog dates 13.5.0 to 4 December 2026.
The post says PHPUnit cannot make running arbitrary test code safe. Sandboxing belongs to whoever runs the agent. The 13.x changelogs checked here do not mention the escaping or header changes, so which 13.x release has them was not confirmed.
Coverage
The 24 due feed and index sources were collected successfully at 10:01, 16:01 and 22:01 UTC.
The 19 daily package and adoption sources last succeeded at 04:01 UTC and were not due again.
health --fail-stale reports no failed or stale source. This edition was created at 10:01 UTC
with the Symfony and ext/csv items. At 16:01 UTC the PHP 8.6.0RC3 and single-binary v0.2 items were
added, and the karma grant was noted. At 22:01 UTC the ext/csv item was rewritten for the new
draft RFC page, and the PHPStan 2.3.1 and PHPUnit items were added. Also at 22:01 UTC: PHP 8.4.27RC1
was announced, with 8.4.27 expected on 22 October.
The PASSWORD_BCRYPT_SHA256 thread drew objections
about Passlib, OWASP guidance and interoperability, and a participant
said that an alternative proposal is coming in one
to two weeks (see the RFC page); neither got its own item. A reply supporting the IntlNumberFormatter skeleton
formatter idea (GH-24165) and a query_params page edit with an unchanged header have no item.
The official RFC index is unchanged (949 entries; end_pear_endorsement and reldateformatter are
voting), and csv_extension was not yet listed at 22:01 UTC. The reldateformatter page still has the
header conflict noted on 7 October: the header says Under Discussion, while its voting section
says voting ends 2026-10-22 00:00 UTC. Interim poll counts are not reported, because they are not
results. Package and WordPress version-share observations were not compared, because no baseline
comparison has been defined.