xref: /PHP-5.6/ext/standard/tests/array/bug65304.phpt (revision 3380de97)
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