Skip to content

Commit 89409fd

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Null Coalescing Operator
2 parents 678556c + f93a172 commit 89409fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ template as follows:
3535
.. code-block:: html+php
3636

3737
<!-- example.com/src/pages/hello.php -->
38-
Hello <?= htmlspecialchars(isset($name) ? $name : 'World', ENT_QUOTES, 'UTF-8') ?>
38+
Hello <?= htmlspecialchars($name ?? 'World', ENT_QUOTES, 'UTF-8') ?>
3939

4040
Now, we are in good shape to add new features.
4141

0 commit comments

Comments
 (0)