ID: 44212 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Arrays related PHP Version: 5.3CVS-2008-02-22 (snap) New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-02-22 12:11:17] [EMAIL PROTECTED] Description: ------------ array_diff_assoc is not reporting missing arguments - see example code Reproduce code: --------------- var_dump( array_diff_assoc() ); $arr1 = array(1, 2); var_dump( array_diff_assoc($arr1) ); Expected result: ---------------- Warning: array_diff_assoc(): at least 2 parameters are required, 0 given in %s on line %d NULL Warning: array_diff_assoc(): at least 2 parameters are required, 1 given in %s on line %d NULL Actual result: -------------- NULL NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44212&edit=1