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 0bce416 commit 4325dbbCopy full SHA for 4325dbb
frameworks/PHP/reactphp/app.php
@@ -134,7 +134,7 @@ function fortune(Closure $fortune): PromiseInterface
134
foreach ($rows as $row) {
135
$message = htmlspecialchars($row['message'], ENT_QUOTES, 'UTF-8');
136
137
- $html .= "<tr><td>${row['id']}</td><td>${message}</td></tr>";
+ $html .= "<tr><td>{$row['id']}</td><td>{$message}</td></tr>";
138
}
139
140
return "<!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>$html</table></body></html>";
0 commit comments