brianhaveri/Underscore.php — pull request #3 by tgriesser (2011-10-08 19:14:16+00:00)
Title: Allows the first argument of "extend" and "defaults" to be passed by reference

Provides the option of passing the first argument by reference, directly modifying the object.

Current syntax:
```$object = array('k1' => 'a2');
$object = __::extend($object, array('k1' => 'v1', 'k2' => 'v2'));
$object = array('k1'=>'v1', 'k2' => 'v2');```

With changes:
```$object = array('k1' => 'a2');
__::extend(&$object, array('k1' => 'v1', 'k2' => 'v2'));```
OR
```$object = __::extend($object, array('k1' => 'v1', 'k2' => 'v2'));
$object = array('k1'=>'v1', 'k2' => 'v2');```