Hi Marcus Boerger, you wrote: > Hello Michael, > > sure but there's a difference Reflection whatever is only run during > request time, what you want is running outside and require malloc rather > than emalloc.
Thanks, I already adjusted my code according to that.
But guess, I've still not solved all my problems :(
D:\Daten\Source\php-src>Debug_TS\php.exe -r
"ReflectionClass::export(HttpResponse);" | grep dummy
Property [ public static $dummy ]
D:\Daten\Source\php-src>Debug_TS\php.exe -r "$c = new
ReflectionClass(HttpResponse); $c->setStaticPropertyValue('dummy', 'foobar');"
Fatal error: Uncaught exception 'ReflectionException' with message 'Class
HttpResponse does not have a property named dummy' in Command line code:1
D:\Daten\Source\php-src>Debug_TS\php.exe -r "echo HttpResponse::$dummy;"
Fatal error: Access to undeclared static property: HttpResponse::$dummy in
Command line code on line 1
The static property "dummy" is declared as follows:
zend_declare_property_string(http_response_object_ce, "dummy", sizeof("dummy"),
"EMPTY", ZEND_ACC_PUBLIC|ZEND_ACC_STATIC TSRMLS_CC);
Thanks,
--
Michael - < mike(@)php.net >
signature.asc
Description: OpenPGP digital signature
