Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
php
/
php-src
Public
Notifications
You must be signed in to change notification settings
Fork
8.1k
Star
40.4k
Code
Issues
971
Pull requests
1.1k
Actions
Security and quality
52
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
php-src
/
Zend
/
tests
/
enum
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
php-src
/
Zend
/
tests
/
enum
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
debugInfo
debugInfo
__call.phpt
__call.phpt
__callStatic.phpt
__callStatic.phpt
__class__.phpt
__class__.phpt
__clone.phpt
__clone.phpt
__function__.phpt
__function__.phpt
__get.phpt
__get.phpt
__invoke.phpt
__invoke.phpt
__isset.phpt
__isset.phpt
__method__.phpt
__method__.phpt
__serialize.phpt
__serialize.phpt
__set.phpt
__set.phpt
__set_state.phpt
__set_state.phpt
__sleep.phpt
__sleep.phpt
__toString.phpt
__toString.phpt
__unserialize.phpt
__unserialize.phpt
__unset.phpt
__unset.phpt
__wakeup.phpt
__wakeup.phpt
ast-dumper.phpt
ast-dumper.phpt
backed-cases-int.phpt
backed-cases-int.phpt
backed-cases-string.phpt
backed-cases-string.phpt
backed-duplicate-int.phpt
backed-duplicate-int.phpt
backed-duplicate-string.phpt
backed-duplicate-string.phpt
backed-from-invalid-int.phpt
backed-from-invalid-int.phpt
backed-from-invalid-string.phpt
backed-from-invalid-string.phpt
backed-from-invalid-type.phpt
backed-from-invalid-type.phpt
backed-from-unknown-hash.phpt
backed-from-unknown-hash.phpt
backed-from.phpt
backed-from.phpt
backed-implements-multiple.phpt
backed-implements-multiple.phpt
backed-implements.phpt
backed-implements.phpt
backed-int-case-without-value.phpt
backed-int-case-without-value.phpt
backed-int-const-expr.phpt
backed-int-const-expr.phpt
backed-int-const-invalid-expr.phpt
backed-int-const-invalid-expr.phpt
backed-int.phpt
backed-int.phpt
backed-invalid.phpt
backed-invalid.phpt
backed-mismatch.phpt
backed-mismatch.phpt
backed-negative-int.phpt
backed-negative-int.phpt
backed-string-heredoc.phpt
backed-string-heredoc.phpt
backed-string.phpt
backed-string.phpt
backed-tryFrom-casing.phpt
backed-tryFrom-casing.phpt
backed-tryFrom-unknown-hash.phpt
backed-tryFrom-unknown-hash.phpt
backed-tryFrom.phpt
backed-tryFrom.phpt
backed-type-no-union.phpt
backed-type-no-union.phpt
basic-methods.phpt
basic-methods.phpt
case-attributes.phpt
case-attributes.phpt
case-in-class.phpt
case-in-class.phpt
cases-refcount.phpt
cases-refcount.phpt
comparison-internal.phpt
comparison-internal.phpt
comparison.phpt
comparison.phpt
constant-aliases.phpt
constant-aliases.phpt
constants.phpt
constants.phpt
default-parameter.phpt
default-parameter.phpt
empty-from.phpt
empty-from.phpt
enum-as-constant.phpt
enum-as-constant.phpt
enum-as-params.phpt
enum-as-params.phpt
enum-attributes.phpt
enum-attributes.phpt
enum-in-constant.phpt
enum-in-constant.phpt
enum-in-static-var.phpt
enum-in-static-var.phpt
enum-in-var-export.phpt
enum-in-var-export.phpt
enum-reserved-non-modifiers.phpt
enum-reserved-non-modifiers.phpt
enum_exists.phpt
enum_exists.phpt
enum_in_stack_trace.phpt
enum_in_stack_trace.phpt
enum_underscore_as_name.phpt
enum_underscore_as_name.phpt
extending-builtin-error.phpt
extending-builtin-error.phpt
extending-user-error.phpt
extending-user-error.phpt
final.phpt
final.phpt
gh10346.phpt
gh10346.phpt
gh16954.phpt
gh16954.phpt
gh21760.phpt
gh21760.phpt
gh7792_1.phpt
gh7792_1.phpt
gh7792_2.phpt
gh7792_2.phpt
gh7792_3.phpt
gh7792_3.phpt
gh7792_4.phpt
gh7792_4.phpt
gh7792_5.phpt
gh7792_5.phpt
gh7821.phpt
gh7821.phpt
gh8176.phpt
gh8176.phpt
gh8418.phpt
gh8418.phpt
gh9775_1.phpt
gh9775_1.phpt
gh9775_2.phpt
gh9775_2.phpt
implements-internal.phpt
implements-internal.phpt
implements.phpt
implements.phpt
instanceof-backed-enum.phpt
instanceof-backed-enum.phpt
instanceof-unitenum.phpt
instanceof-unitenum.phpt
instanceof.phpt
instanceof.phpt
internal_enums.phpt
internal_enums.phpt
internal_enums_strict_types.phpt
internal_enums_strict_types.phpt
json_encode.phpt
json_encode.phpt
keyword-no-bc-break.phpt
keyword-no-bc-break.phpt
keyword-whitespace.phpt
keyword-whitespace.phpt
magic-constants.phpt
magic-constants.phpt
name-property.phpt
name-property.phpt
namespaces.phpt
namespaces.phpt
no-abstract.phpt
no-abstract.phpt
no-cases.phpt
no-cases.phpt
no-class-implements-backed-enum.phpt
no-class-implements-backed-enum.phpt
no-class-implements-unit-enum.phpt
no-class-implements-unit-enum.phpt
no-clone-internal.phpt
no-clone-internal.phpt
no-clone.phpt
no-clone.phpt
no-constructors.phpt
no-constructors.phpt
no-destruct.phpt
no-destruct.phpt
View all files
You can’t perform that action at this time.