[Webkit-unassigned] [Bug 256998] New: [Website] payment-request demo backend has a syntax error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 18 17:45:31 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256998

            Bug ID: 256998
           Summary: [Website] payment-request demo backend has a syntax
                    error
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Website
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: alex at fork.run
                CC: jond at apple.com

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 at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230519/ea24149f/attachment.htm>


More information about the webkit-unassigned mailing list