Test: /ext/standard/tests/array/array_diff_assoc_variation7.phpt - Version 5.6.0-dev    

There is 1 diff reported by users for this test.

Count Diff
3 (100%)
003+
004+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 23
005+ NULL
006+
007+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 24
008+ NULL
009+ -- Results when $a has been changed to 4: --
010+
011+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 29
012+ NULL
013+
014+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 30
015+ NULL
016+ -- Results when $arr2 is referenced to $arr1 --
017+
018+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 35
019+ NULL
020+
021+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 36
022+ NULL
023+ -- Results when $arr1 is changed --
024+
025+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 41
026+ NULL
027+
028+ Warning: array_diff_assoc() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_assoc_variation7.php on line 42
029+ NULL
030+ Done
003- array(3) {
004- [1]=>
005- string(1) "b"
006- [2]=>
007- string(1) "c"
008- [3]=>
009- string(1) "a"
010- }
011- array(3) {
012- ["a"]=>
013- int(1)
014- ["b"]=>
015- int(2)
016- ["c"]=>
017- int(3)
018- }
019- -- Results when $a has been changed to 4: --
020- array(4) {
021- [0]=>
022- string(1) "a"
023- [1]=>
024- string(1) "b"
025- [2]=>
026- string(1) "c"
027- [3]=>
028- string(1) "a"
029- }
030- array(4) {
031- ["a"]=>
032- int(1)
033- ["b"]=>
034- int(2)
035- ["c"]=>
036- int(3)
037- [0]=>
038- &int(4)
039- }
040- -- Results when $arr2 is referenced to $arr1 --
041- array(0) {
042- }
043- array(0) {
044- }
045- -- Results when $arr1 is changed --
046- array(0) {
047- }
048- array(0) {
049- }
050- Done