Custom Query (305 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 305)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#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 :)

#39 fixed xcache.coveragedumper does not work in PHP_INI_PER_DIR or PHP_INI_ALL moo judas_iscariote
Description

xcache.coveragedumper have no effect in per-dir (.htaccess) or per script(ini_set()) setting, it only works when set in php.ini the test was conducted using apache 2.2.3 with php 5.1.6 + suhosin

I expect it to work at least per-dir or this is a documentation problem ??

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.