1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-19 04:52:13 +02:00

Merge pull request #3823 from Sohib/patch-1

[php/en] Remove an extra double quote
This commit is contained in:
Adam Bard
2020-01-27 21:27:17 -08:00
committed by GitHub

View File

@@ -289,7 +289,7 @@ if (false) {
print (false ? 'Does not get printed' : 'Does');
// ternary shortcut operator since PHP 5.3
// equivalent of "$x ? $x : 'Does'""
// equivalent of "$x ? $x : 'Does'"
$x = false;
print($x ?: 'Does');