xref: /PHP-7.1/ext/standard/tests/array/bug48484.phpt (revision 7af945e2)
1--TEST--
2Bug 48484 (array_product() always returns 0 for an empty array)
3--FILE--
4<?php
5var_dump(array_product(array()));
6?>
7--EXPECT--
8int(1)
9