Re: [PHP-DEV] Weird engine problem

2004-09-23 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > Sorry for these lengthy mails but this issue is important to me as it > hinders the development of PHPUnit2. Since I was finally able to write a small reproducing script I opened a bug report for this: http://bugs.php.net/bug.php?id=30209 -- Sebastian Bergmann

Re: [PHP-DEV] Weird engine problem

2004-09-22 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > In PHPUnit2 I have the following code: It seems that I have been at slightly the wrong code try { $class = new ReflectionClass($this); var_dump($this); $method = $class->getMethod($this->name); var_dump($this); exit; } obj

Re: [PHP-DEV] Weird engine problem

2004-09-22 Thread Marcus Boerger
Hello Sebastian, Wednesday, September 22, 2004, 9:52:18 PM, you wrote: > For quite a while I have been fighting with what I believe to be a bug in > the Zend Engine 2. > In PHPUnit2 I have the following code: >public function run(PHPUnit2_Framework_Test $test) { >// $test->name:

[PHP-DEV] Weird engine problem

2004-09-22 Thread Sebastian Bergmann
For quite a while I have been fighting with what I believe to be a bug in the Zend Engine 2. In PHPUnit2 I have the following code: public function run(PHPUnit2_Framework_Test $test) { // $test->name: string(14) "testGetBalance" $this->startTest($test); try {