PHP 4 Bug Database summary - http://bugs.php.net
Num Status Summary (832 total including feature requests)
===[Apache related]===
15529 Verified ap_cleanup_for_exec not used when creating
23580 Open Random values for include_pat
Translate PHP Manual to Bahasa
Indonesia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi internals,
Is there a way to hook the cast_object handler in userspace ? What I want is
a default "to_string" method called when I do something like:
class my_object extends class_with_default_to_string_method {
private $value = "Hello";
public function to_string() { //overhiding defau
Sorry guys,
> $o = new xxx();
should be $o = new my_object();
And if there is a way to hook into zend_standard_class (stdClass) what would
make all objects inherit the to_string method, it would be great !
Cristiano Duarte
"Cristiano Duarte" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL
I made a patch to the latest PHP5-CVS wich implements this hook. I think
it's useful to make a meaningful object stringfied value.
Can anyone verify it and maybe commit it to CVS ?
--- zend.c 2003-07-30 14:07:36.0 -0300
+++ zend.c.new 2003-08-03 00:27:43.0 -0300
@@ -227,10 +227,24
Sorry, but didn't all there error/warnings/info got logged if you want ? I
think you can set loggin on in php.ini and IMHO that's the best place to dig
for bugs...
Cristiano Duarte.
"Wojtek Meler" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Timm Friebe wrote:
> > On Tue, 200