note 77095 deleted from function.array-diff by cmb

From: Date: Sun, 17 Mar 2019 09:27:25 +0000
Subject: note 77095 deleted from function.array-diff by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-210385@lists.php.net to get a copy of this message
Note Submitter: asdf at asdf dot com ---- Even tough the description of this function's behavior has changed it does not appear as tough the function's behavior has changed. Below is some test code and its output: <?php $a = array('1','2','3','4','5'); $b = array('1','a','b','c','d','e'); $c = array('2','f','g','h','i','j'); print_r(array_diff($a, $b, $c)); ?> Array ( [2] => 3 [3] => 4 [4] => 5 )

« previous php.notes (#210385) next »