What is the best method in PHP to round up numbers?

When rounding up numbers in PHP, the ceil() function can be used to round a number up to the nearest integer. This function returns the next highest integer value by rounding up any fractional part of the number.

$number = 15.4;
$roundedNumber = ceil($number);
echo $roundedNumber; // Output: 16