ceil in PHP December 7, 2021 by Codingtube team Table of Contents Syntax of ceil in PHPExample of ceil function Syntax of ceil in PHP float ceil(float number) Returns the next highest value to number, rounding upwards if needed Example of ceil function <?php echo ceil(4.3); // 5 echo ceil(9.999); // 10 echo ceil(-3.14); // -3 ?>