Skip to content

Conversation

andot
Copy link
Contributor

@andot andot commented Jul 12, 2014

The old implementation of PHP-CPP do not support returning reference, but now it can.

for example:

myNamespace.add("myFunction", myFunction, {}, true);
myClass.method("myMethod", myMethod, {}, true);

Notice: Maybe this patch only works after patching #114.

andot added 2 commits July 13, 2014 06:43
The old implementation of PHP-CPP do not support returning reference.
but now it can.
@RogerWaters
Copy link

Hi,
is there any progress of this? It would be really nice if returning reference feature is available. Can you tell me if I can implement the magic function get like "public function &__get" with php-cpp?
Thanks for the nice wrapper.
RogerWaters

@andot tried your branch "returningref" and "master" but did not get returning reference feature to work. Is this because #114 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants