xref: /PHP-8.1/ext/standard/tests/array/bug65304.phpt (revision 782352c5)
1--TEST--
2Bug #65304 (Use of max int in array_sum)
3--FILE--
4<?php
5var_dump(array_sum(array(PHP_INT_MAX, 1)));
6var_dump(PHP_INT_MAX + 1);
7?>
8--EXPECTF--
9float(%s)
10float(%s)
11