For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > November 2004 > cvs: ZendEngine2 /tests bug30856.phpt









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 /tests bug30856.phpt
Marcus Boerger

2004-11-24, 8:55 pm

helly Wed Nov 24 14:56:26 2004 EDT

Added files:
/ZendEngine2/tests bug30856.phpt
Log:
- Add new test


http://cvs.php.net/co.php/ZendEngin....phpt?r=1.1&p=1
Index: ZendEngine2/tests/bug30856.phpt
+++ ZendEngine2/tests/bug30856.phpt
--TEST--
Bug #30856 (ReflectionClass::getStaticProperties segfaults)
--FILE--
<?
class bogus {
const C = 'test';
static $a = bogus::C;
}

$class = new ReflectionClass('bogus');

var_dump($class->getStaticProperties());
?>
===DONE===
--EXPECT--
array(1) {
["a"]=>
string(4) "test"
}
===DONE===
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com