René's URL Explorer Experiment


Title: Fix GH-10497: Allow const obj->prop = value by khaledalam · Pull Request #20903 · php/php-src · GitHub

Open Graph Title: Fix GH-10497: Allow const obj->prop = value by khaledalam · Pull Request #20903 · php/php-src

X Title: Fix GH-10497: Allow const obj->prop = value by khaledalam · Pull Request #20903 · php/php-src

Description: Description Fixes #10497 - Allows direct modification of object properties stored in constants. Problem Previously, this code would fail with a fatal error: const a = new stdClass; a->b = 42; // F...

Open Graph Description: Description Fixes #10497 - Allows direct modification of object properties stored in constants. Problem Previously, this code would fail with a fatal error: const a = new stdClass; a->b = 42; /...

X Description: Description Fixes #10497 - Allows direct modification of object properties stored in constants. Problem Previously, this code would fail with a fatal error: const a = new stdClass; a->b = 42...

Opengraph URL: https://github.com/php/php-src/pull/20903

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7a5cb134-7c0c-d16b-2668-5ef39cf032e7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE642:348185:40F4134:56EB98A:6964CE16
html-safe-noncea04de21bb27b911e27cab2bf8a45c5f7d5fdad5df879c44e47aad4255e3c15bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjQyOjM0ODE4NTo0MEY0MTM0OjU2RUI5OEE6Njk2NENFMTYiLCJ2aXNpdG9yX2lkIjoiNTQyNTg2NTc1NjI2OTM5OTU3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc349983363d1cc1709eb7bf6b9cf28e9d7da5b2ac71ac3117606a606c48666dd
hovercard-subject-tagpull_request:3162735754
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/php/php-src/20903/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/86d210b2854ac719e0eb6d7497d3c1201ec8c22ac634764d45ef2f01f02e83bc/php/php-src/pull/20903
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86d210b2854ac719e0eb6d7497d3c1201ec8c22ac634764d45ef2f01f02e83bc/php/php-src/pull/20903
og:image:altDescription Fixes #10497 - Allows direct modification of object properties stored in constants. Problem Previously, this code would fail with a fatal error: const a = new stdClass; a->b = 42; /...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekhaledalam
hostnamegithub.com
expected-hostnamegithub.com
None5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d
turbo-cache-controlno-preview
go-importgithub.com/php/php-src git https://github.com/php/php-src.git
octolytics-dimension-user_id25158
octolytics-dimension-user_loginphp
octolytics-dimension-repository_id1903522
octolytics-dimension-repository_nwophp/php-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1903522
octolytics-dimension-repository_network_root_nwophp/php-src
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8f997e7f84bd1db9537ba403fa68be0da3423594
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/php/php-src/pull/20903#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fpull%2F20903
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fpull%2F20903
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=php%2Fphp-src
Reloadhttps://github.com/php/php-src/pull/20903
Reloadhttps://github.com/php/php-src/pull/20903
Reloadhttps://github.com/php/php-src/pull/20903
php https://github.com/php
php-srchttps://github.com/php/php-src
Notifications https://github.com/login?return_to=%2Fphp%2Fphp-src
Fork 8k https://github.com/login?return_to=%2Fphp%2Fphp-src
Star 39.8k https://github.com/login?return_to=%2Fphp%2Fphp-src
Code https://github.com/php/php-src
Issues 929 https://github.com/php/php-src/issues
Pull requests 766 https://github.com/php/php-src/pulls
Actions https://github.com/php/php-src/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/php/php-src/security
Please reload this pagehttps://github.com/php/php-src/pull/20903
Insights https://github.com/php/php-src/pulse
Code https://github.com/php/php-src
Issues https://github.com/php/php-src/issues
Pull requests https://github.com/php/php-src/pulls
Actions https://github.com/php/php-src/actions
Security https://github.com/php/php-src/security
Insights https://github.com/php/php-src/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fphp%2Fphp-src%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fphp%2Fphp-src%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/php/php-src/pull/20903#issue-comment-box
khaledalamhttps://github.com/khaledalam
php:masterhttps://github.com/php/php-src/tree/master
khaledalam:fix-gh10497-allow-const-object-modificationhttps://github.com/khaledalam/php-src/tree/fix-gh10497-allow-const-object-modification
Fix GH-10497: Allow const obj->prop = value https://github.com/php/php-src/pull/20903#top
khaledalamhttps://github.com/khaledalam
php:masterhttps://github.com/php/php-src/tree/master
khaledalam:fix-gh10497-allow-const-object-modificationhttps://github.com/khaledalam/php-src/tree/fix-gh10497-allow-const-object-modification
Conversation 0 https://github.com/php/php-src/pull/20903
Commits 1 https://github.com/php/php-src/pull/20903/commits
Checks 9 https://github.com/php/php-src/pull/20903/checks
Files changed 3 https://github.com/php/php-src/pull/20903/files
https://github.co/hiddenchars
https://github.com/php/php-src/pull/{{ revealButtonHref }}
https://github.com/khaledalam
khaledalamhttps://github.com/khaledalam
Jan 11, 2026https://github.com/php/php-src/pull/20903#issue-3800625430
#10497https://github.com/php/php-src/issues/10497
Please reload this pagehttps://github.com/php/php-src/pull/20903
https://github.com/khaledalam
Fixhttps://github.com/php/php-src/pull/20903/commits/b916ba6b6511cb7df9459df87eb39ad6e9da674e
phpGH-10497https://github.com/php/php-src/issues/10497
: Allow direct modification of object properties in co…https://github.com/php/php-src/pull/20903/commits/b916ba6b6511cb7df9459df87eb39ad6e9da674e
b916ba6https://github.com/php/php-src/pull/20903/commits/b916ba6b6511cb7df9459df87eb39ad6e9da674e
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Category: Engine https://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Category%3A%20Engine%22
Jan 11, 2026https://github.com/php/php-src/pull/20903#event-21967513276
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fpull%2F20903
Category: Engine https://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Category%3A%20Engine%22
Cannot directly modify an object stored in a constant https://github.com/php/php-src/issues/10497
Please reload this pagehttps://github.com/php/php-src/pull/20903
https://github.com/khaledalam
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.