<?php

$age = 108;

$result = match (true) {
    $age > 0 && $age < 13 
        => 'child',
    $age >= 13 && $age < 18 
        => 'teen',
    $age >= 18
        => 'adult',
    default 
        => 'invalid age'    
};

echo $result;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: