Conditional Structures
Conditional structures are instructions which run different code, based on a condition.
This includes if-elseif-then, switch(), match(), the ternary operators ? ... : and ?: and the coalesce operator ??.
<?php
if (!function_exists('trumpet')) {
function trumpet() {
// doSomething
}
}
?>