Source Code:
(back to article)
<?php $age = 25; $result = $age >= 18 ? 'You are an adult.' : 'You are not an adult.'; echo $result;
Result:
Report an issue