Date: 01/27/01
- Next message: jiri.kaderavek <email protected>: "[PHP-DEV] PHP 4.0 Bug #8950: php_mysql_do_connect -> parameter host modified when using port or socket"
- Previous message: lorenb <email protected>: "[PHP-DEV] PHP 4.0 Bug #8913 Updated: undefined symbol SQLParamData"
- In reply to: Harald Radi: "[PHP-DEV] how to catch '=' operations on objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You have to do echo $obj->serialize().
It's just an additional few characters to type :)
Andi
At 05:54 PM 1/27/2001 +0100, Harald Radi wrote:
>hi,
>
>i've written an extension and want the following:
>
>____________________________
>
>$var = new myObject();
>
>$echo $var->elem; // the
>php_myObject_property_handler() is called and i
>can return the value
>
>$echo $var // php prints out 'Object' , but i
>whish to serialize my
>object and deliver a string
>_____________________________
>
>
>is this possible or do i always have to call something like echo
>$var->serialize(); ?
>
>harald.
>
>resistance is futile - nme.at
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jiri.kaderavek <email protected>: "[PHP-DEV] PHP 4.0 Bug #8950: php_mysql_do_connect -> parameter host modified when using port or socket"
- Previous message: lorenb <email protected>: "[PHP-DEV] PHP 4.0 Bug #8913 Updated: undefined symbol SQLParamData"
- In reply to: Harald Radi: "[PHP-DEV] how to catch '=' operations on objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

