#52 encoder breaks on object local variables

closed-fixed
nobody
None
5
2003-10-13
2003-10-09
Andreas Schultz
No

encoder breaks object inheritance for objects with
local variables.

example:

<?php
class foo {
function foo() {
}
}

class bar extends foo {
var $foobar;

function bar() {
$this->foo();
}
}
echo get_parent_class("bar");
?>

should return "foo". this does not longer work when the
file is encoded.

environment:
php-4.3.2
turck-mmache-2.4.2-CVS

Discussion

  • Dmitry Stogov
    Dmitry Stogov
    2003-10-10

    • status: open --> open-fixed
     
  • Dmitry Stogov
    Dmitry Stogov
    2003-10-10

    Logged In: YES
    user_id=124551

    Thank you for your report. I have fixed the BUG, by modifying
    loader code, so reencoding is not neccessury.

    You can try to get development version from sourceforge CVS
    (loader.c revision: 1.45), but usually anonymous sourceforge
    CVS is not up to date. I plan to release 2.4.2 today or at
    Mopnday.

    Don't forget to clear cache when you will test this BUG.

     
  • Dmitry Stogov
    Dmitry Stogov
    2003-10-13

    Logged In: YES
    user_id=124551

    The bug is fixed in Turck MMCache 2.4.2.

     
  • Dmitry Stogov
    Dmitry Stogov
    2003-10-13

    • status: open-fixed --> closed-fixed