Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JeffreyWay's avatar
if ($jeff->isMarried()) { 
    $this->keepSearching(['qualities' => ['man', 'dev', 'php', 'laravel', 'devastating']);
});
21 likes
toniperic's avatar

Does this mean you take no exceptions to that?

1 like
JeffreyWay's avatar

True:

try {
    $jeff->getWith();
} catch(AlreadyMarriedException $e) {
    $this->keepSearching(['qualities' => ['man', 'dev', 'php', 'laravel', 'devastating']);
} catch (Exception $e) {
    var_dump('Yolo. Anything is possible.');
}
14 likes
sitesense's avatar

Call to undefined method $jeff->getWith(); ?? :D

2 likes
xingfucoder's avatar

Jajajajaja, great @JeffreyWay but only one question.

Could be considered AlreadyMarried as an Exception? :D

Great as always in all situations :)

1 like
jrdavidson's avatar

The question I have is has @JeffreyWay's wife seen this? I'm sure she was bursting with laughter just like the rest of us are.

justmekun's avatar

haha. I've searched but did not find a topic like this from a woman :)

Previous

Please or to participate in this conversation.