什么是最好的,首选的写作方式,如速记单线,如:
expression ? $foo : $bar
情节扭曲:我需要echo $foo或echo $bar.任何疯狂的伎俩?:)
echo $foo
echo $bar
php if-statement echo shorthand
echo ×1
if-statement ×1
php ×1
shorthand ×1