# Function java_unwrap

Unwrap a Java object.

Fetches the PHP object which has been wrapped by java_closure(). Example:

    class foo { function __toString() {return "php"; } function toString() {return "java";} }
    $foo = java_closure(new foo());
    echo $foo;
    => java;
    $foo = java_unwrap($foo);
    echo $foo;
    => php

License: GPL
Author: Jost Boekemeier
Located at JavaProxy.inc

Parameters summary
`` | `$object` |