mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Remove an extra double quote
This commit is contained in:
parent
1eecfded69
commit
dc7996c6e8
@ -289,7 +289,7 @@ if (false) {
|
|||||||
print (false ? 'Does not get printed' : 'Does');
|
print (false ? 'Does not get printed' : 'Does');
|
||||||
|
|
||||||
// ternary shortcut operator since PHP 5.3
|
// ternary shortcut operator since PHP 5.3
|
||||||
// equivalent of "$x ? $x : 'Does'""
|
// equivalent of "$x ? $x : 'Does'"
|
||||||
$x = false;
|
$x = false;
|
||||||
print($x ?: 'Does');
|
print($x ?: 'Does');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user