Pascal Case

Pascal case, also written PascalCase is a way of writing names without spaces, where:

  • the first word starts with an uppercase letter

  • each following word starts with an uppercase letter

Pascal case was used for pascal programming language. It is very similar to camel case, though it is not the same.

<?php

function CalculatePrice(int $price): int {
    return $price * SALE_TAX_RATE;
}

?>

Documentation

See also stringcase website.

Related : Camel Case, Snake Case, Constant Case