Hello Kiput,

  look into ext/spl/spl_array.c or here: http://talks.somabo.de

  & nobody stops you from making it less messy if you think it is, this is
  all open source.

Wednesday, January 25, 2006, 3:31:07 PM, you wrote:

> Hi.

> I'm currently working on a tiny "wrapper" in C++ which will aid in
> easy embeding PHP in C++ apps. Till now I managed to work on it
> without any help, but this time I need your help guys - I'm tired of
> that messy, undocumented PHP/Zend code. Could anyone (I'm sure it's 5
> minutes of work, since most of you work with PHP/Zend frequently)
> write me a snippet of code in C which would be equal to following PHP
> code:

> class Foobar
> {
>     function __set( $name, $value )
>     {
>         echo( "$name = $value" );
>     }
>     function __get( $name )
>     {
>         echo( "$name" );
>     }
> }

> I was working, but since I've implemented resource zval type into my
> lib it somehow (I even didn't noticed) stopped. =(

> If this is wrong list then I'm sorry, thought my question is closely
> tied to PHP's internals after all. =)

> Thanks.




Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to