xref: /PHP-8.2/ext/standard/tests/array/bug48484.phpt (revision 9c144e0d)
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