note 101024 rejected from language.operators.array by danbrown
| From: | danbrown@php.net | Date: | Mon, 22 Nov 2010 13:53:20 +0000 |
| Subject: | note 101024 rejected from language.operators.array by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174250@lists.php.net to get a copy of this message | ||
Note Submitter: maros dot gajdosik at gmail dot com
----
PHP gets slaughtered when comparing large arrays and their rerefences. Except for object variables,
there is no way to tell, whether or not 2 variables refer to the same data.
Would it be really that difficult to introduce some kind of a reference compare operator?
"&=" perhaps?