|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-10-18 10:12 UTC] pmmaga@php.net
-Status: Open
+Status: Not a bug
[2019-10-18 10:12 UTC] pmmaga@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 15:00:01 2025 UTC |
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 ( )