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