| Summary: | [Website] payment-request demo backend has a syntax error | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Zenla <alex> |
| Component: | WebKit Website | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | jond, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 13 | ||
Pull request: https://github.com/WebKit/WebKit/pull/14048 Committed 264378@main (365d91ad2c52): <https://commits.webkit.org/264378@main> Reviewed commits have been landed. Closing PR #14048 and removing active labels. |
Upon doing other things in WebKit, I noticed a syntax error in the backend code for the payment-request demo. if (!$result = curl_exec($curlConnection)) die('An error occurred when connecting to the validation URL.')); Running this code (note, I recognize this is a web PHP file, yet this will check the syntax) provides this error. alex@sodium WebKit % php Websites/webkit.org/demos/payment-request/merchant-validation.php PHP Parse error: Unmatched ')' in /Users/alex/Developer/Web/WebKit/Websites/webkit.org/demos/payment-request/merchant-validation.php on line 94 Parse error: Unmatched ')' in /Users/alex/Developer/Web/WebKit/Websites/webkit.org/demos/payment-request/merchant-validation.php on line 94