Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Php greeter #259

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

bernardnormier
Copy link
Member

@bernardnormier bernardnormier commented Feb 4, 2025

We may want to add a second HTML version of this demo. Or maybe make "secure" HTML.

// Send a request to the remote object and get the response.
$greeting = $greeter->greet(get_current_user());

echo "$greeting\n";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that's the correct syntax. Please check.

require_once 'Ice.php';
require_once 'Greeter.php';

// Create an Ice communicator to initialize the Ice runtime. This communicator is destroyed automatically at the end of
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified the communicator is indeed destroyed even though there is no call to ->destroy

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