Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
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
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
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
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
Appearance settings
Resetting 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-langspec
Public
Notifications
You must be signed in to change notification settings
Fork
272
Star
2.3k
Code
Issues
16
Pull requests
5
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Mar 7, 2024
Add grammar for readonly classes
Show description for ca697b4
ghostwriter
authored and
nikic
committed
ca697b4
Copy full SHA for ca697b4
Commits on Mar 3, 2024
Indicate space is allowed between "endswitch" and ";"
ramsey
authored and
nikic
committed
287f3d0
Copy full SHA for 287f3d0
Commits on Feb 24, 2024
Merge pull request #259 from saundefined/patch-1
Show description for a1e3e4f
Girgias
authored
a1e3e4f
Copy full SHA for a1e3e4f
Update ML instructions
saundefined
authored
bf7423a
Copy full SHA for bf7423a
Commits on Feb 23, 2023
Fix markdown typo in spec/ (#249)
Superkooka
authored
4c19272
Copy full SHA for 4c19272
Commits on Feb 3, 2023
Merge pull request #257 from petk/patch-readme
Show description for 39ef2ce
iluuu1994
authored
39ef2ce
Copy full SHA for 39ef2ce
Mention GitHub upstream instead of obsolete git.php.net
petk
committed
ffa3fa5
Copy full SHA for ffa3fa5
Commits on Dec 12, 2022
fix(constants): remove duplicate E_USER_DEPRECATED def
Show description for f268abd
sno2
authored and
cmb69
committed
f268abd
Copy full SHA for f268abd
Commits on Feb 5, 2022
Namespace definition grammar fix (#254)
Show description for f9d4f74
tortis
authored
f9d4f74
Copy full SHA for f9d4f74
Commits on May 7, 2021
Merge pull request #252 from tiffany-taylor/patch-1
Show description for d06f3e0
TysonAndre
authored
d06f3e0
Copy full SHA for d06f3e0
Fix encoding for < to <
tiffany-taylor
authored
6e28846
Copy full SHA for 6e28846
Commits on Mar 15, 2020
Added missing $ to &colors.
Show description for 8a7e967
coderodde
authored and
cmb69
committed
8a7e967
Copy full SHA for 8a7e967
Fixed the leftwards diagram arrows from < to <.
Show description for 694b029
coderodde
authored and
cmb69
committed
694b029
Copy full SHA for 694b029
Commits on Apr 8, 2019
Adjust serialization tests
Show description for ab19cb0
nikic
committed
ab19cb0
Copy full SHA for ab19cb0
Adjust for PHP 8 negative array key change
nikic
committed
5156669
Copy full SHA for 5156669
Avoid static call to non-static method
nikic
committed
2f0881e
Copy full SHA for 2f0881e
Case-insensitive constants are no longer supported
nikic
committed
231e649
Copy full SHA for 231e649
Fix more undefined constant uses
nikic
committed
64dd279
Copy full SHA for 64dd279
(unset) casts are no longer supported since PHP 8
nikic
committed
5fc96c5
Copy full SHA for 5fc96c5
Fix constant uses in basic.phpt
Show description for dc2e8d9
nikic
committed
dc2e8d9
Copy full SHA for dc2e8d9
Define encoding of PHP scripts
ramonacat
authored and
nikic
committed
fe55bee
Copy full SHA for fe55bee
Fix print-expression/yield-expression mixup
Show description for fd81c6b
nikic
committed
fd81c6b
Copy full SHA for fd81c6b
Commits on Mar 15, 2019
Update spec for by-ref list RFC
bp1222
authored and
nikic
committed
ee9565c
Copy full SHA for ee9565c
Revert "Define encoding of PHP scripts"
Show description for 9d99cf0
nikic
committed
9d99cf0
Copy full SHA for 9d99cf0
Define encoding of PHP scripts
Show description for f35bd70
ramonacat
authored and
nikic
committed
f35bd70
Copy full SHA for f35bd70
Mark instanceof as left-associative
Show description for 15aa452
nikic
committed
15aa452
Copy full SHA for 15aa452
Fix print precedence
nikic
committed
63d72a6
Copy full SHA for 63d72a6
Fix yield / yield from precedence
nikic
committed
b0dadd5
Copy full SHA for b0dadd5
Commits on Mar 14, 2019
Fix precedence of by-ref assignment
Show description for 1058a50
nikic
committed
1058a50
Copy full SHA for 1058a50
Commits on Dec 22, 2018
Use PHP 7.3 on Travis
Show description for 2c380e4
nikic
committed
2c380e4
Copy full SHA for 2c380e4
Adjust constant warning message for PHP 7.3
Show description for 3136882
nikic
committed
3136882
Copy full SHA for 3136882
Add trialing comma description for constructs and functions
Show description for 197a397
zhujinxuan
authored and
nikic
committed
197a397
Copy full SHA for 197a397
Fix relative path of pre-commit
zhujinxuan
authored and
nikic
committed
322c5c0
Copy full SHA for 322c5c0
Commits on Oct 1, 2018
Sync final newlines
Show description for be010b4
petk
committed
be010b4
Copy full SHA for be010b4
Commits on Sep 21, 2018
Trim trailing whitespace
petk
committed
97bef5c
Copy full SHA for 97bef5c
Pagination
Previous
Next
You can’t perform that action at this time.