Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a2cecd2

Browse files
Remove ZEND_STATIC_ASSERT() calls from legacy arginfo files
After report in 5992a29#r143540472
1 parent c705dd8 commit a2cecd2

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

‎build/gen_stub.php‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4986,14 +4986,6 @@ function generateArgInfoCode(
49864986
$code = "/* This is a generated file, edit the .stub.php file instead.\n"
49874987
. " * Stub hash: $stubHash */\n";
49884988

4989-
$minimumPhpVersionIdCompatibility = $fileInfo->getMinimumPhpVersionIdCompatibility();
4990-
if ($minimumPhpVersionIdCompatibility !== null) {
4991-
$code .= "\nZEND_STATIC_ASSERT(PHP_VERSION_ID >= $minimumPhpVersionIdCompatibility, ";
4992-
$code .= "\"{$stubFilenameWithoutExtension}_arginfo.h only supports ";
4993-
$code .= "PHP version ID $minimumPhpVersionIdCompatibility or newer, \"\n";
4994-
$code .= "\t\"but it is included on an older PHP version\");\n";
4995-
}
4996-
49974989
$generatedFuncInfos = [];
49984990

49994991
$argInfoCode = generateCodeWithConditions(

‎ext/zend_test/test_arginfo.h‎

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /