René's URL Explorer Experiment


Title: Fixed warnings and notices issued by PHP 8.1.4 by BertHooyman · Pull Request #2 · mapcode-foundation/mapcode-php · GitHub

Open Graph Title: Fixed warnings and notices issued by PHP 8.1.4 by BertHooyman · Pull Request #2 · mapcode-foundation/mapcode-php

X Title: Fixed warnings and notices issued by PHP 8.1.4 by BertHooyman · Pull Request #2 · mapcode-foundation/mapcode-php

Description: several api functions (decodeTriple and decode) returned either an object or an int 0. This leads to warnings in the calling code under PHP 8.1. As a fix, these functions now return null rather than 0. In various places, associative arrays were accessed using non-existing keys. E.g. $GLOBALS['redivar'], $_REQUEST['s'], $_GET['edge'] and $_GET['start']. Code has been extended to avoid such access. In the function territory_code_tests() in unittest.php, there was a $testdata array entry for 'US-CA OTHER TEXT' having a context of '-1 -1'. This is evaluated as -2 and that leads to a warning in PHP 8.1. The context has been fixed to '-1' Indexing into an uninitialized array leads to warning in PHP 8.1. This has been fixed for accessing $result[$p] in to_ascii()

Open Graph Description: several api functions (decodeTriple and decode) returned either an object or an int 0. This leads to warnings in the calling code under PHP 8.1. As a fix, these functions now return null rather tha...

X Description: several api functions (decodeTriple and decode) returned either an object or an int 0. This leads to warnings in the calling code under PHP 8.1. As a fix, these functions now return null rather tha...

Opengraph URL: https://github.com/mapcode-foundation/mapcode-php/pull/2

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8cc9200e-0d24-2a16-61aa-3f59f7adf0d4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A96:2B71F3:15E3B13:1BABB09:6975BAD4
html-safe-nonce201193000de44b1066fe86560950fff0459f6eeaaf14d4f8b81eb4f3aea46bbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTk2OjJCNzFGMzoxNUUzQjEzOjFCQUJCMDk6Njk3NUJBRDQiLCJ2aXNpdG9yX2lkIjoiNjczNzYyNTMzMDU1NTkyNzI1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac55dff4c38a3c9c997fde2068948177dedb01b17fa028d44c522cd24ce4da291e
hovercard-subject-tagpull_request:1070075860
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/mapcode-foundation/mapcode-php/pull/2/files
twitter:imagehttps://avatars.githubusercontent.com/u/12392748?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/12392748?s=400&v=4
og:image:altseveral api functions (decodeTriple and decode) returned either an object or an int 0. This leads to warnings in the calling code under PHP 8.1. As a fix, these functions now return null rather tha...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/mapcode-foundation/mapcode-php git https://github.com/mapcode-foundation/mapcode-php.git
octolytics-dimension-user_id8832474
octolytics-dimension-user_loginmapcode-foundation
octolytics-dimension-repository_id40119124
octolytics-dimension-repository_nwomapcode-foundation/mapcode-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40119124
octolytics-dimension-repository_network_root_nwomapcode-foundation/mapcode-php
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/mapcode-foundation/mapcode-php/pull/2/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmapcode-foundation%2Fmapcode-php%2Fpull%2F2%2Ffiles
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%2Fmapcode-foundation%2Fmapcode-php%2Fpull%2F2%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=mapcode-foundation%2Fmapcode-php
Reloadhttps://github.com/mapcode-foundation/mapcode-php/pull/2/files
Reloadhttps://github.com/mapcode-foundation/mapcode-php/pull/2/files
Reloadhttps://github.com/mapcode-foundation/mapcode-php/pull/2/files
mapcode-foundation https://github.com/mapcode-foundation
mapcode-phphttps://github.com/mapcode-foundation/mapcode-php
Notifications https://github.com/login?return_to=%2Fmapcode-foundation%2Fmapcode-php
Fork 2 https://github.com/login?return_to=%2Fmapcode-foundation%2Fmapcode-php
Star 0 https://github.com/login?return_to=%2Fmapcode-foundation%2Fmapcode-php
Code https://github.com/mapcode-foundation/mapcode-php
Issues 0 https://github.com/mapcode-foundation/mapcode-php/issues
Pull requests 1 https://github.com/mapcode-foundation/mapcode-php/pulls
Actions https://github.com/mapcode-foundation/mapcode-php/actions
Projects 0 https://github.com/mapcode-foundation/mapcode-php/projects
Security 0 https://github.com/mapcode-foundation/mapcode-php/security
Insights https://github.com/mapcode-foundation/mapcode-php/pulse
Code https://github.com/mapcode-foundation/mapcode-php
Issues https://github.com/mapcode-foundation/mapcode-php/issues
Pull requests https://github.com/mapcode-foundation/mapcode-php/pulls
Actions https://github.com/mapcode-foundation/mapcode-php/actions
Projects https://github.com/mapcode-foundation/mapcode-php/projects
Security https://github.com/mapcode-foundation/mapcode-php/security
Insights https://github.com/mapcode-foundation/mapcode-php/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmapcode-foundation%2Fmapcode-php%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmapcode-foundation%2Fmapcode-php%2Fissues%2Fnew%2Fchoose
rijnbhttps://github.com/rijnb
mapcode-foundation:masterhttps://github.com/mapcode-foundation/mapcode-php/tree/master
BertHooyman:php8_touch-upshttps://github.com/BertHooyman/mapcode-php/tree/php8_touch-ups
Conversation 1 https://github.com/mapcode-foundation/mapcode-php/pull/2
Commits 2 https://github.com/mapcode-foundation/mapcode-php/pull/2/commits
Checks 0 https://github.com/mapcode-foundation/mapcode-php/pull/2/checks
Files changed https://github.com/mapcode-foundation/mapcode-php/pull/2/files
Please reload this pagehttps://github.com/mapcode-foundation/mapcode-php/pull/2/files
Fixed warnings and notices issued by PHP 8.1.4 https://github.com/mapcode-foundation/mapcode-php/pull/2/files#top
Show all changes 2 commits https://github.com/mapcode-foundation/mapcode-php/pull/2/files
9bb8fc1 Fixed warnings and notices issued by PHP 8.1.4 Sep 28, 2022 https://github.com/mapcode-foundation/mapcode-php/pull/2/commits/9bb8fc1359e979b51fe26eb9457b10042be5e25a
bf120aa more PHP 8.1 warnings resolved Sep 28, 2022 https://github.com/mapcode-foundation/mapcode-php/pull/2/commits/bf120aa1999a2161fc5ba5be47dc56c84449e45d
Clear filters https://github.com/mapcode-foundation/mapcode-php/pull/2/files
Please reload this pagehttps://github.com/mapcode-foundation/mapcode-php/pull/2/files
Please reload this pagehttps://github.com/mapcode-foundation/mapcode-php/pull/2/files
mapcode_api.php https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
sample.php https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-0d2a4296202d79021d8eefcc9dfac62402e4e1a297353b1561dc4c0da58c404f
unittest.php https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
mapcode_api.phphttps://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
View file https://github.com/BertHooyman/mapcode-php/blob/bf120aa1999a2161fc5ba5be47dc56c84449e45d/mapcode_api.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/mapcode-foundation/mapcode-php/pull/2/{{ revealButtonHref }}
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-043f02b326e9d727440a0ca3e02ffb6b969cd262e75158547575c8449ed43dfb
sample.phphttps://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-0d2a4296202d79021d8eefcc9dfac62402e4e1a297353b1561dc4c0da58c404f
View file https://github.com/BertHooyman/mapcode-php/blob/bf120aa1999a2161fc5ba5be47dc56c84449e45d/sample.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/mapcode-foundation/mapcode-php/pull/2/{{ revealButtonHref }}
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-0d2a4296202d79021d8eefcc9dfac62402e4e1a297353b1561dc4c0da58c404f
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-0d2a4296202d79021d8eefcc9dfac62402e4e1a297353b1561dc4c0da58c404f
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-0d2a4296202d79021d8eefcc9dfac62402e4e1a297353b1561dc4c0da58c404f
unittest/unittest.phphttps://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
View file https://github.com/BertHooyman/mapcode-php/blob/bf120aa1999a2161fc5ba5be47dc56c84449e45d/unittest/unittest.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/mapcode-foundation/mapcode-php/pull/2/{{ revealButtonHref }}
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
https://github.com/mapcode-foundation/mapcode-php/pull/2/files#diff-ab6477782deb4e8329456d58b4ca4d2e51601fbf79fc08c8c43f715b09d2f9a6
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.