We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5692e8 commit 52a8645Copy full SHA for 52a8645
tests/PHPCurlClass/server.php
@@ -312,7 +312,7 @@
312
exit;
313
} elseif ($test === 'post_redirect_get') {
314
if (isset($_GET['redirect'])) {
315
- echo "Redirected: $request_method";
+ echo 'Redirected: ' . $request_method;
316
} else {
317
if ($request_method === 'POST') {
318
if (function_exists('http_response_code')) {
@@ -323,7 +323,7 @@
323
324
header('Location: ?redirect');
325
326
- echo "Request method is $request_method, but POST was expected";
+ echo 'Request method is ' . $request_method . ', but POST was expected';
327
}
328
329
0 commit comments