Deprecate a few one-line global functions
authorKevin Israel <pleasestand@live.com>
Fri, 10 May 2013 05:24:35 +0000 (01:24 -0400)
committerKevin Israel <pleasestand@live.com>
Sat, 6 Jul 2013 01:06:11 +0000 (21:06 -0400)
commit8ea3dc7faa700425e0aa08a5288e513a4b37dadd
treed7ae15a5a9d0412fa862543e6be31a388fe04a1f
parent25c77ee5daa2c4a8cc4891c713d49ba834be1628
Deprecate a few one-line global functions

Additions to the PHP language made these redundant.

* wfArrayLookup() is similar to PHP 5.1's array_intersect_key()
  yet has serious limitations. For example, integer string values
  are implicitly cast to integers.

* wfArrayMerge() can be replaced by PHP 5.3's array_replace().

* wfTime() just returns microtime( true ).

Change-Id: I2c6844fc48a265d2d885083b5bed8df846e0aaf4
includes/GlobalFunctions.php
tests/phpunit/includes/GlobalFunctions/GlobalTest.php