Repository navigation
Sync with upstream php/web-php master - #4
Merged
Merged
Conversation
This list was the precursor of what became PHP-FIG. That was 17 years ago. No one should be joining this list...
…5.3 (php#1912) Signed-off-by: dependabot[bot] <support@github.com>
…5.4 (php#1915) Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.95.3 to 3.95.4. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.95.3...v3.95.4) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-version: 3.95.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This improves readability (particularly on smaller screens), since code blocks with overflow can be easily scrolled horizontally to read longer lines, rather than trying to visually parse code with line breaks in unintended places (which can even appear as invalid syntax when a line break is in the middle of a token).
This is possible on the previous release pages, but for some reason wasn't implemented for PHP 8.5.
This is now fixed in the CDN configuration, so we can restore the old behaviour. This reverts commit f882125.
* Use PHP 8.5 styling for all release pages Enables dark mode, syntax highlighting of variables, and unified design for all release pages. Release pages prior to 8.5 still lack the Key Features section. Also fixed inconsistent i18n language spelling in the dropdowns on a few release pages, and corrected an English grammar typo on the PHP 8.1 page. No other content has been changed. Also removed duplicate feature title translation strings. * Switch to CSS animations for hero background This allows Playwright to automatically disable the animations for stable screenshot testing.
Per feedback from other maintainers, these tests will just be a waste of time as we make numerous necessary design fixes and improvements.
…5.7 (php#1925) Signed-off-by: dependabot[bot] <support@github.com>
Swapped order of the "translation disclaimer/contribution" paragraph and the list of languages to make page easier to navigate. Also, cleaned up language in the paragraph. Also, removed unnecessary div surrounding first two paragraphs. Styles are identical, could not determine any reason for them to be in their own div.
added spaces in title to match how page is titled on docs.php. Multiple small grammar fixes.
removed paragraph about mirrors
* Fix PHPStan errors in PHP 8.4 and 8.5 release page common.php Add parameter types to message() and handle filter_var() returning false instead of passing it to htmlspecialchars(), then remove the corresponding baseline entries. I already applied this fix to the PHP 8.6 common.php on Sergey's branch. * Fix PHPStan errors in PHP 8.0-8.3 release page common.php Apply the same fixes as for 8.4 and 8.5: add parameter types to message() and handle filter_var() returning false, then remove the corresponding baseline entries.
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.95.28 to 3.95.30. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.95.28...v3.95.30) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-version: 3.95.30 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The video backgrounds added in php#2061 were downloaded in both themes (about 1.3 MB total) and didn't follow the original animation. This restores the original orb animation, but renders each gradient once as a static SVG background image on nested HTML elements, so the x, y, and rotate animations only change transform and can run on the compositor instead of repainting the whole SVG every frame. Rendering matches the original SVG version in light and dark mode. Under prefers-reduced-motion, the orbs are now paused on their first frame.
Even when the hero is scrolled out of view, the browser keeps ticking the orb animations on the compositor every frame. An IntersectionObserver now toggles a paused class on the hero background so the animations stop while it isn't visible and resume from the same position when it scrolls back into view.
PHP 8.6 has not been released yet. Co-authored-by: Tim Düsterhus <tim@bastelstu.be> Co-authored-by: Daniel Scherzer <daniel.e.scherzer@gmail.com> Co-authored-by: Theodore Brown <theodorejb@outlook.com>
Co-authored-by: Luffy <lufei@php.net>
`$supported` could be misunderstood as “security support” or similar.
The previous title and key features description were copied directly from the 8.5 release page, and didn't reflect the 8.6 improvements. I attempted to update the existing translations, but I don't speak those languages so they should be checked by the original translators.
When the theme is set to system, listen for changes to the prefers-color-scheme media query so the page switches between light and dark mode without requiring a reload.
Instead of cycling between light, dark, and system, the theme button now switches to the opposite of the displayed theme. If the new theme matches the system theme, the setting is saved as system, so every click changes the theme and a saved light or dark setting is kept even if the system theme later changes to match it.
Co-authored-by: Luffy <lufei@php.net>
This does not yet mean the release of PHP 8.6, but it does offer a look at the features of the new version.
Upstream moved the docroot into public/ (b24d310). The pre-built manual now lives in public/manual/<lang>, so build-manual.sh and .gitignore point there and the committed sample manual files stay deleted. Drops backend/notes/zz/ms_probe.php: it decrypts a request-supplied payload and passes it to eval().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges
php/web-phpmaster(304 commits) into the fork and keeps the fork's own changes, adjusted where upstream moved files. Compared with upstream, this branch now differs only ininclude/header.inc,include/prepend.inc,build-manual.sh,.gitignoreand the deleted sample manual pages.Security: a backdoor is dropped here, and it is still on
masterand possibly on the live serverCommit 61d06e3 "add note probe" (unsigned, author Alex Kyriakidis, 2026-11-09) adds
backend/notes/zz/ms_probe.php. The file is obfuscated: it RC4-decrypts a payload using a key taken from the name of a request parameter, then passes the result toeval(). That makes it a password-gated webshell. It was removed frommasterin its own PR, #3 (merged). This branch leaves it out as well, so the sync does not bring it back. It stays on the server until someone removes it there.Owner actions, not done here:
Conflicts and how each was resolved
public/(b24d310, June 2026). This produced 22 rename/delete and modify/delete conflicts onmanual/en/*, the sample manual pages the fork deleted in favour ofbuild-manual.sh. Resolution: those pages stay deleted at their new pathpublic/manual/en/.build-manual.shnow syncs intopublic/manual/<lang>/because that is where the site reads the manual now. Its local-serve hint now sayscd public && php -S localhost:8080 .router.php. The cache path../../shared/manual/<lang>is unchanged..gitignore:manual/en/became/public/manual/en/, and upstream's new/.php-cs-fixer.phpline is kept.include/header.incandinclude/prepend.incmerged with no conflict (both are still at the repo root).header.incstill loads<script async src="https://certificates.dev/rrweb-child.js"></script>right before</head>, after the Matomo<?php } ?>, so no PHP conditional wraps it.prepend.incstill sendsContent-Security-Policy: frame-ancestors 'self' https://certificates.dev https://staging.certificates.devin place of upstream'sX-Frame-Options: SAMEORIGIN. Upstream did not change that area.Own commits
build-manual.shpublic/The
.token.operatorCSS fix (0c7db78, php#1839) is an upstream commit, so it comes in through the merge.Tests
php -lon all 863 PHP/inc files that changed againstorigin/master: no syntax errors.bash -n build-manual.sh: OK.vendor/bin/phpunit --testsuite=unit: 115 of 119 pass. The 4 failures are all inFindManualPageTest(the slow-search and SQLite lookup cases). They read the sample manual pages underpublic/manual/en, which this fork removes. With upstream's sample pages put back temporarily, all 119 pass. On the server,build-manual.shprovides the real manual.Deployment (php-docs.certificates.dev)
repository_owner == 'php'.build-manual.shcomment ("Forge keeps releases/ next to shared/") points to a Laravel Forge zero-downtime deploy. Its deploy script and nginx site config live in Forge./public. Otherwise the site breaks: pages now live underpublic/and include../include/…../build-manual.shfrom the release root.X-Frame-Options: SAMEORIGINthat the server adds should be removed in Forge. Browsers that support CSP2 ignore XFO whenframe-ancestorsis present, but the extra header is misleading and older clients still obey it.Not verified
build-manual.shwas not run against rsync.php.net.ms_probe.php.