Answers for "concat ternary operator"

PHP
0

concat ternary operator

$description = 'Paper: ' . ($paperType == 'bond' ? 'Bond' : 'Other');
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language