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
791
Pull requests
599
Actions
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security
Insights
Files
PHP-8.1
Breadcrumbs
php-src
/
ext
/
standard
/
tests
/
strings
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
PHP-8.1
Breadcrumbs
php-src
/
ext
/
standard
/
tests
/
strings
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
004.phpt
004.phpt
005.phpt
005.phpt
006.phpt
006.phpt
007-win32.phpt
007-win32.phpt
007.phpt
007.phpt
add-and-stripcslashes.phpt
add-and-stripcslashes.phpt
add-and-stripslashes.phpt
add-and-stripslashes.phpt
addcslashes_001.phpt
addcslashes_001.phpt
addcslashes_002.phpt
addcslashes_002.phpt
addcslashes_003.phpt
addcslashes_003.phpt
addcslashes_005.phpt
addcslashes_005.phpt
addslashes_basic.phpt
addslashes_basic.phpt
addslashes_variation2.phpt
addslashes_variation2.phpt
basename.phpt
basename.phpt
basename_basic.phpt
basename_basic.phpt
basename_invalid_path.phpt
basename_invalid_path.phpt
basename_invalid_path_win.phpt
basename_invalid_path_win.phpt
basename_variation.phpt
basename_variation.phpt
bin2hex.phpt
bin2hex.phpt
bin2hex_001.phpt
bin2hex_001.phpt
bin2hex_basic.phpt
bin2hex_basic.phpt
bug20108.phpt
bug20108.phpt
bug20169.phpt
bug20169.phpt
bug20261.phpt
bug20261.phpt
bug20927.phpt
bug20927.phpt
bug20934.phpt
bug20934.phpt
bug21338.phpt
bug21338.phpt
bug21453.phpt
bug21453.phpt
bug21730.phpt
bug21730.phpt
bug21744.phpt
bug21744.phpt
bug22008.phpt
bug22008.phpt
bug22187.phpt
bug22187.phpt
bug22207.phpt
bug22207.phpt
bug22224.phpt
bug22224.phpt
bug22227.phpt
bug22227.phpt
bug23650.phpt
bug23650.phpt
bug23894_32bit.phpt
bug23894_32bit.phpt
bug23894_64bit.phpt
bug23894_64bit.phpt
bug24098.phpt
bug24098.phpt
bug24281.phpt
bug24281.phpt
bug24312.phpt
bug24312.phpt
bug25671.phpt
bug25671.phpt
bug25707.phpt
bug25707.phpt
bug26817.phpt
bug26817.phpt
bug26819.phpt
bug26819.phpt
bug26878.phpt
bug26878.phpt
bug26973.phpt
bug26973.phpt
bug27276.phpt
bug27276.phpt
bug27278.phpt
bug27278.phpt
bug27295.phpt
bug27295.phpt
bug27457.phpt
bug27457.phpt
bug27675.phpt
bug27675.phpt
bug28386.phpt
bug28386.phpt
bug28633.phpt
bug28633.phpt
bug29075.phpt
bug29075.phpt
bug29119.phpt
bug29119.phpt
bug29538.phpt
bug29538.phpt
bug33076.phpt
bug33076.phpt
bug33605.phpt
bug33605.phpt
bug34214.phpt
bug34214.phpt
bug35817.phpt
bug35817.phpt
bug36148.phpt
bug36148.phpt
bug36306.phpt
bug36306.phpt
bug36392.phpt
bug36392.phpt
bug36944.phpt
bug36944.phpt
bug37244.phpt
bug37244.phpt
bug37262.phpt
bug37262.phpt
bug38322.phpt
bug38322.phpt
bug38770.phpt
bug38770.phpt
bug39032.phpt
bug39032.phpt
bug39350.phpt
bug39350.phpt
bug39621.phpt
bug39621.phpt
bug39873.phpt
bug39873.phpt
bug40432.phpt
bug40432.phpt
bug40637.phpt
bug40637.phpt
bug40704.phpt
bug40704.phpt
bug40754.phpt
bug40754.phpt
bug40915.phpt
bug40915.phpt
bug42107.phpt
bug42107.phpt
bug42208.phpt
bug42208.phpt
bug43927.phpt
bug43927.phpt
bug43957.phpt
bug43957.phpt
bug44242.phpt
bug44242.phpt
bug44703.phpt
bug44703.phpt
bug45166.phpt
bug45166.phpt
bug45485.phpt
bug45485.phpt
bug46578.phpt
bug46578.phpt
bug47168.phpt
bug47168.phpt
bug47322.phpt
bug47322.phpt
bug47443.phpt
bug47443.phpt
bug47481.phpt
bug47481.phpt
bug47842.phpt
bug47842.phpt
bug48709.phpt
bug48709.phpt
bug49687.phpt
bug49687.phpt
bug49785.phpt
bug49785.phpt
bug50052.phpt
bug50052.phpt
bug50847.phpt
bug50847.phpt
bug51059.phpt
bug51059.phpt
bug51899.phpt
bug51899.phpt
bug53021.phpt
bug53021.phpt
View all files
You can’t perform that action at this time.