1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 12:30:48 +02:00
This commit is contained in:
Tomy
2016-01-17 16:21:04 +09:00
parent 12ca00c308
commit a7e6bf2f9f

View File

@@ -277,7 +277,7 @@ if (false) {
print 'Does';
}
// 参考演算子
// 三項演算子
print (false ? 'Does not get printed' : 'Does');
// PHP 5.3から、三項演算子の短縮形が使用できます