-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Comparing changes
Open a pull request
base repository: php/php-src
base: 53f76f3
head repository: php/php-src
compare: 89eb11d
- 17 commits
- 2 files changed
- 2 contributors
Commits on May 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 0a2f367 - Browse repository at this point
Copy the full SHA 0a2f367View commit details -
gen_stub: add maximum option to
generateVersionDependentFlagCode()
In preparation for moving this logic to a dedicated class, add support for a maximum version of PHP in the generation of version-dependent flags. This replaces the manual logic in `FuncInfo::getFunctionEntry()` to split up the flags that are used when PHP 8.4 is not supported.
Configuration menu - View commit details
-
Copy full SHA for e0ef34c - Browse repository at this point
Copy the full SHA e0ef34cView commit details -
gen_stub: create
VersionFlags
classThis new class holds the logic for applying different flags based on the PHP version, and replaces `VariableLike::addFlagForVersionsAbove()` (use `VersionFlags::addForVersionsAbove()`) and `generateVersionDependentFlagCode()` (use `VersionFlags::generateVersionDependentFlagCode()`).
Configuration menu - View commit details
-
Copy full SHA for 34f63aa - Browse repository at this point
Copy the full SHA 34f63aaView commit details -
gen_stub: move
generateClassEntryCode()
intoFileInfo
Reduce the number of global functions by moving it to instance method `FileInfo::generateClassEntryCode()`.
Configuration menu - View commit details
-
Copy full SHA for f1d533d - Browse repository at this point
Copy the full SHA f1d533dView commit details -
gen_stub: move
getFileDocComments()
intoFileInfo
Reduce the number of global functions by moving it to static method `FileInfo::getFileDocComments()`. Since it is only used by `FileInfo::parseStubFile()`, also make it private.
Configuration menu - View commit details
-
Copy full SHA for 3ab42e6 - Browse repository at this point
Copy the full SHA 3ab42e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2617a0 - Browse repository at this point
Copy the full SHA e2617a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e57d449 - Browse repository at this point
Copy the full SHA e57d449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848f8bb - Browse repository at this point
Copy the full SHA 848f8bbView commit details -
gen_stub: add
SimpleType::toTypeInfo()
Simplifies the implementation of `::toTypeCode()` and `::toTypeMask()` by combining the `switch` blocks.
Configuration menu - View commit details
-
Copy full SHA for 8a8118b - Browse repository at this point
Copy the full SHA 8a8118bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ec8fc7 - Browse repository at this point
Copy the full SHA 7ec8fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67bfcae - Browse repository at this point
Copy the full SHA 67bfcaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d09d831 - Browse repository at this point
Copy the full SHA d09d831View commit details -
gen_stub: make some
FuncInfo
methods private* `FuncInfo::isFinalMethod()` * `FuncInfo::getModifierNames()` * `FuncInfo::equalsApartFromNameAndRefcount()`
Configuration menu - View commit details
-
Copy full SHA for 5e597c3 - Browse repository at this point
Copy the full SHA 5e597c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f51b78a - Browse repository at this point
Copy the full SHA f51b78aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c786ba - Browse repository at this point
Copy the full SHA 5c786baView commit details -
gen_stub: add
ConstInfo::getPredefinedConstantElement()
Simplifies the implementation of `::getPredefinedConstantTerm()` and `::getPredefinedConstantEntry()`, which only differ in the name of the tag used.
Configuration menu - View commit details
-
Copy full SHA for 8aca966 - Browse repository at this point
Copy the full SHA 8aca966View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89eb11d - Browse repository at this point
Copy the full SHA 89eb11dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 53f76f3...89eb11d