RoundingMode.php 526 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. if (\PHP_VERSION_ID < 80400) {
  11. enum RoundingMode
  12. {
  13. case HalfAwayFromZero;
  14. case HalfTowardsZero;
  15. case HalfEven;
  16. case HalfOdd;
  17. case TowardsZero;
  18. case AwayFromZero;
  19. case NegativeInfinity;
  20. case PositiveInfinity;
  21. }
  22. }