ferrarilongato / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Reimplement history as a list of objects #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Actual implementation preserves reversable methods changes inside called
object.
{{{
$test = phpQuery('a');
$test2 = clone $test;
$test->eq(0);
// this IS true
print $test != $test2;
}}}

Proper implementation shouldn't.
{{{
$test = phpQuery('a');
$test2 = clone $test;
$test->eq(0);
// this IS true
print $test == $test2;
}}}

Original issue reported on code.google.com by tobiasz....@gmail.com on 24 Jan 2008 at 4:16

GoogleCodeExporter commented 8 years ago
Fixed in new branch 0.8-jquery-1.2

Original comment by tobiasz....@gmail.com on 26 Jan 2008 at 1:17