<?php $statusCode = '0'; $label = match ($statusCode) { 0 => 'integer-zero', '0' => 'string-zero', default => 'other', }; echo $label, PHP_EOL;