Last active
April 3, 2019 07:46
-
-
Save Hywan/66e30807045b65a40eed4d2bf67cbe00 to your computer and use it in GitHub Desktop.
Wasm examples, PHP part
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$instance = new Wasm\Instance('simple.wasm'); | |
$result = $instance->sum(1, 2); | |
var_dump($result); // int(3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment