Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c286cb8
[skip ci] Add fuzzer binaries to .gitignore
iluuu1994 Aug 6, 2025
e7c8361
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Aug 6, 2025
14034ad
Merge branch 'PHP-8.4'
iluuu1994 Aug 6, 2025
a63e976
COMMUNTIY build grouping adjustments
iluuu1994 Aug 6, 2025
9cbc09d
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 6, 2025
bf6a74d
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Aug 6, 2025
1e0c8ba
tree: drop non canonical casts and ZPP tests
Girgias Aug 5, 2025
d628ed5
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Aug 6, 2025
63cb81f
Merge branch 'PHP-8.4'
iluuu1994 Aug 6, 2025
5be04e2
[skip ci] Skip segfaulting OOM test in GH actions on Win
iluuu1994 Aug 6, 2025
0b1aa86
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Aug 6, 2025
81c0aea
Merge branch 'PHP-8.4'
iluuu1994 Aug 6, 2025
0ac37fb
[skip ci] Fix Symfony COMMUNITY build for new phpunit version
iluuu1994 Aug 6, 2025
a8cea0c
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 6, 2025
3aa4209
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Aug 6, 2025
c3467bd
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Aug 6, 2025
e30a8a8
Merge branch 'PHP-8.4'
iluuu1994 Aug 6, 2025
2e53aef
ext/ldap: Remove unused include statement
Girgias Apr 26, 2025
1c82075
ext/ldap: Add static specifier for private function
Girgias Apr 26, 2025
b5fb955
ext/ldap: Reduce scope of variable
Girgias Apr 26, 2025
53fde8b
ext/ldap: Remove useless variable
Girgias Apr 26, 2025
9af00b1
ext/ldap: Use bool type instead of int type
Girgias Apr 26, 2025
61790eb
ext/ldap: Use uint32_t type instead of int type
Girgias Apr 26, 2025
5583273
ext/ldap: Use size_t type instead of int type
Girgias Apr 26, 2025
3ddbad9
Allocate a fast thread-safe-resource id for opcache
arnaud-lb Aug 1, 2025
3088d64
Remove the Opcache SAPI whitelist
arnaud-lb Aug 2, 2025
32290b3
Add opcache_preloading() internal function
arnaud-lb Jul 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,9 @@ jobs:
cd "amphp-$repository"
git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
vendor/bin/phpunit || EXIT_CODE=$?
echo "::endgroup::"
vendor/bin/phpunit
EXIT_CODE=$?
echo -e "\n::endgroup::"
if [ ${EXIT_CODE:-0} -gt 128 ]; then
X=1;
echo "Failed"
Expand Down Expand Up @@ -591,8 +592,9 @@ jobs:
cd "reactphp-$repository"
git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
vendor/bin/phpunit || EXIT_CODE=$?
echo "::endgroup::"
vendor/bin/phpunit
EXIT_CODE=$?
echo -e "\n::endgroup::"
if [ $[EXIT_CODE:-0} -gt 128 ]; then
X=1;
echo "Failed"
Expand Down Expand Up @@ -620,15 +622,16 @@ jobs:
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
php ./phpunit install
# Test causes a heap-buffer-overflow but I cannot reproduce it locally...
php -r '$c = file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php"); $c = str_replace("public function testSanitizeDeepNestedString()", "/** @group skip */\n public function testSanitizeDeepNestedString()", $c); file_put_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php", $c);'
php -r '$c = file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php"); $c = str_replace("public function testSanitizeDeepNestedString()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testSanitizeDeepNestedString()", $c); file_put_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php", $c);'
# Buggy FFI test in Symfony, see https://github.com/symfony/symfony/issues/47668
php -r '$c = file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php"); $c = str_replace("public function testCastNonTrailingCharPointer()", "/** @group skip */\n public function testCastNonTrailingCharPointer()", $c); file_put_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php", $c);'
php -r '$c = file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php"); $c = str_replace("public function testCastNonTrailingCharPointer()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testCastNonTrailingCharPointer()", $c); file_put_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php", $c);'
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
X=0
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
echo "::group::$component"
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
echo "::endgroup::"
php ./phpunit $component --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group transient --exclude-group skip
EXIT_CODE=$?
echo -e "\n::endgroup::"
if [ ${EXIT_CODE:-0} -gt 128 ]; then
X=1;
echo "Failed"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ config.h.in
/sapi/cgi/php-cgi
/sapi/fpm/php-fpm
/sapi/phpdbg/phpdbg
/sapi/fuzzer/php-fuzz-*
/scripts/php-config
/scripts/phpize
php
Expand Down
6 changes: 3 additions & 3 deletions Zend/tests/assert/expect_012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ zend.assertions=1
assert.exception=1
--FILE--
<?php
var_dump((integer)ini_get("zend.assertions"));
var_dump((int)ini_get("zend.assertions"));
ini_set("zend.assertions", 0);
var_dump((integer)ini_get("zend.assertions"));
var_dump((int)ini_get("zend.assertions"));
assert(false);
ini_set("zend.assertions", 1);
var_dump((integer)ini_get("zend.assertions"));
var_dump((int)ini_get("zend.assertions"));
assert(true);
var_dump(true);
?>
Expand Down
6 changes: 3 additions & 3 deletions Zend/tests/oct_overflow.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ precision=14
--FILE--
<?php

$doubles = array(
$floats = array(
076545676543223,
032325463734,
0777777,
07777777777777,
033333333333333,
);

foreach ($doubles as $d) {
$l = (double)$d;
foreach ($floats as $d) {
$l = (float)$d;
var_dump($l);
}

Expand Down
Loading
Loading