Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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 }}
php
/
php-src
Public
Notifications
You must be signed in to change notification settings
Fork
7.8k
Star
39k
Code
Issues
790
Pull requests
602
Actions
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security
Insights
Files
php-8.3.19
Breadcrumbs
php-src
/
ext
/
spl
/
tests
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
php-8.3.19
Breadcrumbs
php-src
/
ext
/
spl
/
tests
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
SplFileObject
SplFileObject
AppendIterator_invalid_ctor.phpt
AppendIterator_invalid_ctor.phpt
ArrayObject__serialize_saves_iterator_class.phpt
ArrayObject__serialize_saves_iterator_class.phpt
ArrayObject_clone_other_std_props.phpt
ArrayObject_clone_other_std_props.phpt
ArrayObject_dump_during_sort.phpt
ArrayObject_dump_during_sort.phpt
ArrayObject_exchange_array_during_sorting.phpt
ArrayObject_exchange_array_during_sorting.phpt
ArrayObject_get_object_vars.phpt
ArrayObject_get_object_vars.phpt
ArrayObject_illegal_offset.phpt
ArrayObject_illegal_offset.phpt
ArrayObject_modify_shared_object_properties.phpt
ArrayObject_modify_shared_object_properties.phpt
ArrayObject_overloaded_SplFixedArray.phpt
ArrayObject_overloaded_SplFixedArray.phpt
ArrayObject_overloaded_object_incompatible.phpt
ArrayObject_overloaded_object_incompatible.phpt
ArrayObject_proptable_canonicalization.phpt
ArrayObject_proptable_canonicalization.phpt
ArrayObject_sort_different_backing_storage.phpt
ArrayObject_sort_different_backing_storage.phpt
ArrayObject_std_props_no_recursion.phpt
ArrayObject_std_props_no_recursion.phpt
ArrayObject_unserialize_empty_string.phpt
ArrayObject_unserialize_empty_string.phpt
CallbackFilterIteratorTest-002.phpt
CallbackFilterIteratorTest-002.phpt
CallbackFilterIteratorTest.phpt
CallbackFilterIteratorTest.phpt
DirectoryIterator_by_reference.phpt
DirectoryIterator_by_reference.phpt
DirectoryIterator_empty_constructor.phpt
DirectoryIterator_empty_constructor.phpt
DirectoryIterator_getBasename_basic_test.phpt
DirectoryIterator_getBasename_basic_test.phpt
DirectoryIterator_getExtension_basic.phpt
DirectoryIterator_getExtension_basic.phpt
DirectoryIterator_getGroup_basic.phpt
DirectoryIterator_getGroup_basic.phpt
DirectoryIterator_getInode_basic.phpt
DirectoryIterator_getInode_basic.phpt
DirectoryIterator_getInode_error.phpt
DirectoryIterator_getInode_error.phpt
DirectoryIterator_getOwner_basic.phpt
DirectoryIterator_getOwner_basic.phpt
DirectoryIterator_uninitialized.phpt
DirectoryIterator_uninitialized.phpt
GlobIterator_internal_null_pointer.phpt
GlobIterator_internal_null_pointer.phpt
RecursiveCallbackFilterIteratorTest.phpt
RecursiveCallbackFilterIteratorTest.phpt
RecursiveCallbackFilterIterator_trampoline_usage.phpt
RecursiveCallbackFilterIterator_trampoline_usage.phpt
RecursiveDirectoryIterator_getSubPath_basic.phpt
RecursiveDirectoryIterator_getSubPath_basic.phpt
RecursiveDirectoryIterator_getSubPathname_basic.phpt
RecursiveDirectoryIterator_getSubPathname_basic.phpt
RecursiveDirectoryIterator_hasChildren.phpt
RecursiveDirectoryIterator_hasChildren.phpt
RecursiveIteratorIterator_dtor_order.phpt
RecursiveIteratorIterator_dtor_order.phpt
RecursiveIteratorIterator_invalid_aggregate.phpt
RecursiveIteratorIterator_invalid_aggregate.phpt
RecursiveIteratorIterator_not_initialized.phpt
RecursiveIteratorIterator_not_initialized.phpt
RegexIterator_with_reference_replacement.phpt
RegexIterator_with_reference_replacement.phpt
SPLDoublyLinkedList_iterate_by_reference.phpt
SPLDoublyLinkedList_iterate_by_reference.phpt
SplArray_fromArray.phpt
SplArray_fromArray.phpt
SplDoublyLinkedList_add_invalid_offset.phpt
SplDoublyLinkedList_add_invalid_offset.phpt
SplDoublyLinkedList_add_null_offset.phpt
SplDoublyLinkedList_add_null_offset.phpt
SplDoublyLinkedList_bottom_empty.phpt
SplDoublyLinkedList_bottom_empty.phpt
SplDoublyLinkedList_consistent_iterator_mode.phpt
SplDoublyLinkedList_consistent_iterator_mode.phpt
SplDoublyLinkedList_current.phpt
SplDoublyLinkedList_current.phpt
SplDoublyLinkedList_current_empty.phpt
SplDoublyLinkedList_current_empty.phpt
SplDoublyLinkedList_debug-info.phpt
SplDoublyLinkedList_debug-info.phpt
SplDoublyLinkedList_getIteratorMode.phpt
SplDoublyLinkedList_getIteratorMode.phpt
SplDoublyLinkedList_isEmpty_empty.phpt
SplDoublyLinkedList_isEmpty_empty.phpt
SplDoublyLinkedList_isEmpty_not-empty.phpt
SplDoublyLinkedList_isEmpty_not-empty.phpt
SplDoublyLinkedList_key.phpt
SplDoublyLinkedList_key.phpt
SplDoublyLinkedList_lifoMode.phpt
SplDoublyLinkedList_lifoMode.phpt
SplDoublyLinkedList_offsetExists_success.phpt
SplDoublyLinkedList_offsetExists_success.phpt
SplDoublyLinkedList_offsetGet_param_array.phpt
SplDoublyLinkedList_offsetGet_param_array.phpt
SplDoublyLinkedList_offsetGet_param_string.phpt
SplDoublyLinkedList_offsetGet_param_string.phpt
SplDoublyLinkedList_offsetUnset_greater_than_elements.phpt
SplDoublyLinkedList_offsetUnset_greater_than_elements.phpt
SplDoublyLinkedList_offsetUnset_negative-parameter.phpt
SplDoublyLinkedList_offsetUnset_negative-parameter.phpt
SplDoublyLinkedList_offsetUnset_parameter-larger-num-elements.phpt
SplDoublyLinkedList_offsetUnset_parameter-larger-num-elements.phpt
SplDoublyLinkedList_serialization.phpt
SplDoublyLinkedList_serialization.phpt
SplDoublyLinkedList_top_empty.phpt
SplDoublyLinkedList_top_empty.phpt
SplDoublylinkedlist_offsetunset_first.phpt
SplDoublylinkedlist_offsetunset_first.phpt
SplDoublylinkedlist_offsetunset_first002.phpt
SplDoublylinkedlist_offsetunset_first002.phpt
SplDoublylinkedlist_offsetunset_last.phpt
SplDoublylinkedlist_offsetunset_last.phpt
SplFileInfo_001.phpt
SplFileInfo_001.phpt
SplFileInfo_getExtension_basic-win32.phpt
SplFileInfo_getExtension_basic-win32.phpt
SplFileInfo_getExtension_basic.phpt
SplFileInfo_getExtension_basic.phpt
SplFileInfo_getGroup_basic.phpt
SplFileInfo_getGroup_basic.phpt
SplFileInfo_getGroup_error.phpt
SplFileInfo_getGroup_error.phpt
SplFileInfo_getInode_basic.phpt
SplFileInfo_getInode_basic.phpt
SplFileInfo_getInode_error.phpt
SplFileInfo_getInode_error.phpt
SplFileInfo_getOwner_basic.phpt
SplFileInfo_getOwner_basic.phpt
SplFileInfo_getOwner_error.phpt
SplFileInfo_getOwner_error.phpt
SplFileInfo_getPerms_basic.phpt
SplFileInfo_getPerms_basic.phpt
SplFileInfo_getPerms_error.phpt
SplFileInfo_getPerms_error.phpt
SplFileInfo_setFileClass_basic.phpt
SplFileInfo_setFileClass_basic.phpt
SplFileInfo_setFileClass_error.phpt
SplFileInfo_setFileClass_error.phpt
SplFileInfo_setInfoClass_basic.phpt
SplFileInfo_setInfoClass_basic.phpt
SplFileInfo_setInfoClass_error.phpt
SplFileInfo_setInfoClass_error.phpt
SplFileinfo_debugInfo_basic.phpt
SplFileinfo_debugInfo_basic.phpt
SplFileinfo_getBasename_basic.phpt
SplFileinfo_getBasename_basic.phpt
SplFileinfo_getFilename_basic.phpt
SplFileinfo_getFilename_basic.phpt
SplFixedArray__construct_param_array.phpt
SplFixedArray__construct_param_array.phpt
SplFixedArray__construct_param_null.phpt
SplFixedArray__construct_param_null.phpt
SplFixedArray__construct_param_string.phpt
SplFixedArray__construct_param_string.phpt
SplFixedArray_change_size_during_iteration.phpt
SplFixedArray_change_size_during_iteration.phpt
SplFixedArray_construct_param_SplFixedArray.phpt
SplFixedArray_construct_param_SplFixedArray.phpt
SplFixedArray_fromarray_indexes.phpt
SplFixedArray_fromarray_indexes.phpt
SplFixedArray_fromarray_non_indexes.phpt
SplFixedArray_fromarray_non_indexes.phpt
SplFixedArray_fromarray_param_multiarray.phpt
SplFixedArray_fromarray_param_multiarray.phpt
SplFixedArray_get_properties_for.phpt
SplFixedArray_get_properties_for.phpt
SplFixedArray_immediate_gc.phpt
SplFixedArray_immediate_gc.phpt
SplFixedArray_indirect_modification.phpt
SplFixedArray_indirect_modification.phpt
SplFixedArray_nested_foreach.phpt
SplFixedArray_nested_foreach.phpt
SplFixedArray_offsetExists_less_than_zero.phpt
SplFixedArray_offsetExists_less_than_zero.phpt
SplFixedArray_offsetUnset_string.phpt
SplFixedArray_offsetUnset_string.phpt
SplFixedArray_override_getIterator.phpt
SplFixedArray_override_getIterator.phpt
SplFixedArray_override_offsetGet_only.phpt
SplFixedArray_override_offsetGet_only.phpt
SplFixedArray_serialize.phpt
SplFixedArray_serialize.phpt
SplFixedArray_setSize_destruct.phpt
SplFixedArray_setSize_destruct.phpt
SplFixedArray_setSize_filled_to_smaller.phpt
SplFixedArray_setSize_filled_to_smaller.phpt
SplFixedArray_setSize_param_null.phpt
SplFixedArray_setSize_param_null.phpt
SplFixedArray_setSize_reduce.phpt
SplFixedArray_setSize_reduce.phpt
View all files
You can’t perform that action at this time.