wp-includes/php-ai-client/src/Common/AbstractEnum.php:318Converts camelCase to CONSTANT_CASE.
$camelCasestringstring private static function camelCaseToConstant(string $camelCase): string { $snakeCase = preg_replace('/([a-z])([A-Z])/', '$1_$2', $camelCase); if ($snakeCase === null) { return strtoupper($camelCase); } return strtoupper($snakeCase); }Introduced in 0.1.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Common/AbstractEnum.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.