Bug #78685 [NEW]: wong..

From: Date: Fri, 18 Oct 2019 10:02:49 +0000
Subject: Bug #78685 [NEW]: wong..
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223237@lists.php.net to get a copy of this message
From:             shan dot liu at msn dot com
Operating system: all
PHP version:      7.3.10
Package:          *General Issues
Bug Type:         Bug
Bug description:wong..

Description:
------------
$a=array (
    'Fsku_id' => '30857',
);
$b=array (
    'Fsku_id' => '',
    'Fproduct_id' => '30857',
);
print_r(array_diff($a, $b));
output:
Array
(
)


Test script:
---------------
$a=array (
    'Fsku_id' => '30857',
);
$b=array (
    'Fsku_id' => '',
    'Fproduct_id' => '30857',
);
print_r(array_diff($a, $b));
output:
Array
(
)



-- 
Edit bug report at https://bugs.php.net/bug.php?id=78685&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=78685&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=78685&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=78685&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=78685&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=78685&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=78685&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=78685&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=78685&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=78685&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=78685&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78685&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=78685&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=78685&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=78685&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=78685&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=78685&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=78685&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#223237) next »