#1175: AgaviAttributeHolder::removeAttribute() does not return values by
reference
if array key access is used
--------------------+-------------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2
Component: util | Version: 1.0.1
Severity: minor | Keywords:
Has_patch: 0 |
--------------------+-------------------------------------------------------
Description changed by david:
Old description:
> For example, when doing
> {{{
> <?php
> $foobar =& $ah->removeAttribute('foo[bar]');
> }}}
> {{{$foobar}}} will not be a reference to the removed element.
New description:
For example, when doing
{{{
#!php
<?php
$foobar =& $ah->removeAttribute('foo[bar]');
}}}
{{{$foobar}}} will not be a reference to the removed element.
--
--
Ticket URL: <http://trac.agavi.org/ticket/1175#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets