Custom Query (264 matches)
Results (22 - 24 of 264)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #33 | fixed | 1.1 stability review due to gc_interval | moo | moo |
| description | ||||
| #36 | fixed | Bug in inherited static class variables | moo | Vladan Zajda |
| description |
Hello, There is a bug in inherited static class variable when using cached php. The value of inherited static variable is altered back to its initial value. Tested only on WinXP/PHP 5.1.6 using XCache 1.0.2 but this seems to be global bug. Here's an example: <?php
class B {
static protected $B = 'initial value';
public static function setB($value) {
if ($value) {
self::$B = 'different value';
}
}
public function showBinB() {
echo "static \$B in B = " . self::$B . "<br />";
}
}
class C extends B {
public function showBinC() {
echo "static \$B in C = " . self::$B . "<br />";
}
}
B::setB(true);
$c = new C();
$c->showBinB();
$c->showBinC();
?>
|
|||
| #37 | fixed | xcache_get SEGV using objects | moo | judas_iscariote |
| description |
PHP 5.1.6 xcache_get SEGV with objects. <?php
//php built in stdClass
xcache_set("foo" , new stdClass);
var_dump(xcache_get("foo"));
?>
well, I expect either and error if objects are not supported, or the actual stored object var_dump'ed but not a segv :) |
|||
Note: See TracQuery
for help on using queries.

