Title: array_key_exists warning when parsing a "DEFAULT FALSE" token · Issue #299 · phpmyadmin/sql-parser · GitHub
Open Graph Title: array_key_exists warning when parsing a "DEFAULT FALSE" token · Issue #299 · phpmyadmin/sql-parser
X Title: array_key_exists warning when parsing a "DEFAULT FALSE" token · Issue #299 · phpmyadmin/sql-parser
Description: PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /var/www/html/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php on line 286 A dump inside AlterOperation.php gives me the followi...
Open Graph Description: PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /var/www/html/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php on line 286 A dump inside...
X Description: PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /var/www/html/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php on line 286 A dump inside...
Opengraph URL: https://github.com/phpmyadmin/sql-parser/issues/299
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"array_key_exists warning when parsing a \"DEFAULT FALSE\" token","articleBody":"```\r\nPHP Warning: array_key_exists(): The first argument should be either a string or an integer in /var/www/html/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php on line 286\r\n```\r\n\r\nA dump inside AlterOperation.php gives me the following result:\r\n\r\n\r\nI don't have any idea if the `value` attribute should be a boolean in this case, so I'm not starting a PR right now. I don't know if the correct solution would be to cast to string on the `array_key_exists` itself, or to save the `value` attribute as a string instead of a boolean...","author":{"url":"https://github.com/devnix","@type":"Person","name":"devnix"},"datePublished":"2020-04-13T10:58:54Z","url":"https://github.com/phpmyadmin/sql-parser/issues/299"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7521064e-a0b5-66aa-11ae-f5662139bf87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC8E:1F2F:68320F:8CB7AB:6B043C88 |
| html-safe-nonce | 2ed838c278c53f251f13ddde9280e1d36c218f142417ff88e64fa413b6d7dfce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzhFOjFGMkY6NjgzMjBGOjhDQjdBQjo2QjA0M0M4OCIsInZpc2l0b3JfaWQiOiIzMjM4NjU3MzQxNTk1NTk3OTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7784ea072cff162b4872d25ff2b61766a6da8858b4112bd2e622b1789999dce6 |
| hovercard-subject-tag | issue:598824288 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpmyadmin/sql-parser/299/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f32e40756b6dd0953199f60055d9867a4eca072e689ec48e0c7293356dc9577/phpmyadmin/sql-parser/issues/299 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f32e40756b6dd0953199f60055d9867a4eca072e689ec48e0c7293356dc9577/phpmyadmin/sql-parser/issues/299 |
| og:image:alt | PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /var/www/html/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php on line 286 A dump inside... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devnix |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/phpmyadmin/sql-parser git https://github.com/phpmyadmin/sql-parser.git |
| octolytics-dimension-user_id | 1351977 |
| octolytics-dimension-user_login | phpmyadmin |
| octolytics-dimension-repository_id | 36256604 |
| octolytics-dimension-repository_nwo | phpmyadmin/sql-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36256604 |
| octolytics-dimension-repository_network_root_nwo | phpmyadmin/sql-parser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width