note 108204 added to function.array-diff

From: Date: Sat, 07 Apr 2012 02:22:56 +0000
Subject: note 108204 added to function.array-diff
Groups: php.notes 
Request: Send a blank email to php-notes+get-187005@lists.php.net to get a copy of this message
The fact that it will use the string representation causes alot of problems with php 5.4. When you will have an array inside your elements, it will throw a notice error. It will throw huge amounts of notices depending on how many items you have. The same problem you will notice when checking with objects inside your array. It will cause catchable fatal errors. This is also the case in php 5.3 I'm going to send a bug report, because I think php should handle this. ---- Server IP: 91.199.167.223 Probable Submitter: 83.84.171.85 ---- Manual Page -- http://www.php.net/manual/en/function.array-diff.php Edit -- https://master.php.net/note/edit/108204 Del: integrated -- https://master.php.net/note/delete/108204/integrated Del: useless -- https://master.php.net/note/delete/108204/useless Del: bad code -- https://master.php.net/note/delete/108204/bad+code Del: spam -- https://master.php.net/note/delete/108204/spam Del: non-english -- https://master.php.net/note/delete/108204/non-english Del: in docs -- https://master.php.net/note/delete/108204/in+docs Del: other reasons-- https://master.php.net/note/delete/108204 Reject -- https://master.php.net/note/reject/108204 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187005) next »