Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
codegear
php-src
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
php-src
/
ext
/
date
/
tests
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
php-src
/
ext
/
date
/
tests
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
time/
duration
time/
duration
002.phpt
002.phpt
003.phpt
003.phpt
004.phpt
004.phpt
005.phpt
005.phpt
006.phpt
006.phpt
007.phpt
007.phpt
008.phpt
008.phpt
009.phpt
009.phpt
009_win32.phpt
009_win32.phpt
010.phpt
010.phpt
011.phpt
011.phpt
012.phpt
012.phpt
013.phpt
013.phpt
014.phpt
014.phpt
015.phpt
015.phpt
68062.phpt
68062.phpt
DateInterval_construct_exceptions.phpt
DateInterval_construct_exceptions.phpt
DateInterval_createFromDateString_broken.phpt
DateInterval_createFromDateString_broken.phpt
DateInterval_days_prop1.phpt
DateInterval_days_prop1.phpt
DateInterval_format.phpt
DateInterval_format.phpt
DateInterval_format_a.phpt
DateInterval_format_a.phpt
DateInterval_serialize-001.phpt
DateInterval_serialize-001.phpt
DateInterval_serialize-002.phpt
DateInterval_serialize-002.phpt
DateInterval_serialize-003.phpt
DateInterval_serialize-003.phpt
DateInterval_set_state_exception.phpt
DateInterval_set_state_exception.phpt
DateInterval_uninitialised_exceptions.phpt
DateInterval_uninitialised_exceptions.phpt
DateInterval_write_property_return.phpt
DateInterval_write_property_return.phpt
DatePeriod_IteratorAggregate.phpt
DatePeriod_IteratorAggregate.phpt
DatePeriod_by_ref_iterator.phpt
DatePeriod_by_ref_iterator.phpt
DatePeriod_createFromISO8601String_static_return.phpt
DatePeriod_createFromISO8601String_static_return.phpt
DatePeriod_double_constructor_call.phpt
DatePeriod_double_constructor_call.phpt
DatePeriod_getter.phpt
DatePeriod_getter.phpt
DatePeriod_modify_readonly_property.phpt
DatePeriod_modify_readonly_property.phpt
DatePeriod_no_advance_on_valid.phpt
DatePeriod_no_advance_on_valid.phpt
DatePeriod_properties1.phpt
DatePeriod_properties1.phpt
DatePeriod_properties2.phpt
DatePeriod_properties2.phpt
DatePeriod_serialize-001.phpt
DatePeriod_serialize-001.phpt
DatePeriod_serialize-002.phpt
DatePeriod_serialize-002.phpt
DatePeriod_serialize-003.phpt
DatePeriod_serialize-003.phpt
DatePeriod_serialize-004.phpt
DatePeriod_serialize-004.phpt
DatePeriod_set_state.phpt
DatePeriod_set_state.phpt
DatePeriod_set_state_exception.phpt
DatePeriod_set_state_exception.phpt
DatePeriod_uninitialised_exceptions.phpt
DatePeriod_uninitialised_exceptions.phpt
DatePeriod_wrong_arguments.phpt
DatePeriod_wrong_arguments.phpt
DatePeriod_wrong_constructor.phpt
DatePeriod_wrong_constructor.phpt
DatePeriod_wrong_recurrence_on_constructor.phpt
DatePeriod_wrong_recurrence_on_constructor.phpt
DateTimeImmutable_constants.phpt
DateTimeImmutable_constants.phpt
DateTimeImmutable_createFromInterface-001.phpt
DateTimeImmutable_createFromInterface-001.phpt
DateTimeImmutable_createFromInterface-002.phpt
DateTimeImmutable_createFromInterface-002.phpt
DateTimeImmutable_createFromInterface_exceptions.phpt
DateTimeImmutable_createFromInterface_exceptions.phpt
DateTimeImmutable_createFromMutable-001.phpt
DateTimeImmutable_createFromMutable-001.phpt
DateTimeImmutable_createFromMutable-002.phpt
DateTimeImmutable_createFromMutable-002.phpt
DateTimeImmutable_createFromMutable_exceptions.phpt
DateTimeImmutable_createFromMutable_exceptions.phpt
DateTimeImmutable_inherited_serialization.phpt
DateTimeImmutable_inherited_serialization.phpt
DateTimeImmutable_modify_invalid_format.phpt
DateTimeImmutable_modify_invalid_format.phpt
DateTimeImmutable_serialization.phpt
DateTimeImmutable_serialization.phpt
DateTimeImmutable_set_state.phpt
DateTimeImmutable_set_state.phpt
DateTimeImmutable_set_state_exception.phpt
DateTimeImmutable_set_state_exception.phpt
DateTimeImmutable_uninitialised_exceptions.phpt
DateTimeImmutable_uninitialised_exceptions.phpt
DateTimeInterface_constants.phpt
DateTimeInterface_constants.phpt
DateTimeInterval_inherited_serialization.phpt
DateTimeInterval_inherited_serialization.phpt
DateTimePeriod_inherited_serialization.phpt
DateTimePeriod_inherited_serialization.phpt
DateTimeZone_clone_basic1.phpt
DateTimeZone_clone_basic1.phpt
DateTimeZone_clone_basic2.phpt
DateTimeZone_clone_basic2.phpt
DateTimeZone_clone_basic3.phpt
DateTimeZone_clone_basic3.phpt
DateTimeZone_clone_basic4.phpt
DateTimeZone_clone_basic4.phpt
DateTimeZone_compare.phpt
DateTimeZone_compare.phpt
DateTimeZone_compare_basic1.phpt
DateTimeZone_compare_basic1.phpt
DateTimeZone_construct_basic.phpt
DateTimeZone_construct_basic.phpt
DateTimeZone_construct_error.phpt
DateTimeZone_construct_error.phpt
DateTimeZone_extends_basic1.phpt
DateTimeZone_extends_basic1.phpt
DateTimeZone_getLocation.phpt
DateTimeZone_getLocation.phpt
DateTimeZone_getName_basic1.phpt
DateTimeZone_getName_basic1.phpt
DateTimeZone_getOffset_basic1.phpt
DateTimeZone_getOffset_basic1.phpt
DateTimeZone_getTransitions_basic1.phpt
DateTimeZone_getTransitions_basic1.phpt
DateTimeZone_getTransitions_bug1.phpt
DateTimeZone_getTransitions_bug1.phpt
DateTimeZone_inherited_serialization.phpt
DateTimeZone_inherited_serialization.phpt
DateTimeZone_listAbbreviations_basic1.phpt
DateTimeZone_listAbbreviations_basic1.phpt
DateTimeZone_listIdentifiers_basic1.phpt
DateTimeZone_listIdentifiers_basic1.phpt
DateTimeZone_serialization.phpt
DateTimeZone_serialization.phpt
DateTimeZone_serialize_errors.phpt
DateTimeZone_serialize_errors.phpt
DateTimeZone_serialize_type_1.phpt
DateTimeZone_serialize_type_1.phpt
DateTimeZone_serialize_type_2.phpt
DateTimeZone_serialize_type_2.phpt
DateTimeZone_serialize_type_3.phpt
DateTimeZone_serialize_type_3.phpt
DateTimeZone_set_state.phpt
DateTimeZone_set_state.phpt
DateTimeZone_set_state_exception.phpt
DateTimeZone_set_state_exception.phpt
DateTimeZone_uninitialised_exceptions.phpt
DateTimeZone_uninitialised_exceptions.phpt
DateTime_add-dates.phpt
DateTime_add-dates.phpt
DateTime_add-fall-type2-type2.phpt
DateTime_add-fall-type2-type2.phpt
DateTime_add-fall-type2-type3.phpt
DateTime_add-fall-type2-type3.phpt
DateTime_add-fall-type3-type2.phpt
DateTime_add-fall-type3-type2.phpt
DateTime_add-fall-type3-type3.phpt
DateTime_add-fall-type3-type3.phpt
DateTime_add-february.phpt
DateTime_add-february.phpt
DateTime_add-massive.phpt
DateTime_add-massive.phpt
DateTime_add-spring-type2-type2.phpt
DateTime_add-spring-type2-type2.phpt
DateTime_add-spring-type2-type3.phpt
DateTime_add-spring-type2-type3.phpt
DateTime_add-spring-type3-type2.phpt
DateTime_add-spring-type3-type2.phpt
DateTime_add-spring-type3-type3.phpt
DateTime_add-spring-type3-type3.phpt
DateTime_clone_basic1.phpt
DateTime_clone_basic1.phpt
View all files
You can’t perform that action at this time.