xref: /PHP-7.3/ext/standard/tests/array/bug48484.phpt (revision 782352c5)
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