mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-20 05:21:26 +02:00
Merge pull request #3823 from Sohib/patch-1
[php/en] Remove an extra double quote
This commit is contained in:
@@ -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');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user