derek@tds:~$ cat derek.php
<?phpdeclare(strict_types=1);namespace TDS;enum Industry: string{ case ElectricalSales = 'Electrical Sales'; case SoftwareEngineering = 'Software Engineering';}final readonly class Derek{ public function __construct( public string $name = 'Derek', public array $industry = [Industry::ElectricalSales, Industry::SoftwareEngineering], public string $connect = 'LinkedIn', // Find me on LinkedIn! ) {}}class Work{ public array $jobs = ['I-Pro', 'LekkerLogic']; private string $priority = 'Wife & Kids'; // Always wins public function time(): int { return $this->workTime + $this->travel + $this->teamsCalls + $this->customerVisits + $this->admin; }}final class LekkerLogic extends Work{ // Add LekkerLogic.com to Work public function isLekkerLogic(): int|false { return $this->hasProject() ? $this->workTime + $this->evenings + $this->weekends + $this->angryWife : false; // No projects at the moment }}$experience = [ 'sales' => 22, // years since 2004 'code' => 26, // years since 2000 'skiing' => 41, // years since 1984];$fun = match (true) { $work->time() > $totalTime, $derek->isSick() => false, // No time - Sucks! $wifeMood !== Mood::Happy => false, // No time - Sucks! $today->isWeekend() || $work->time() < $totalTime => $life->where('fun', true) ->pluck('bikes', 'skis', 'mountains', 'airplanes') ->random(), default => 'coffee',};// Thanks for checking me out!