ext-php-rs/example/skel/test.php
David 815452f799
Refactored ZendHashTable conversions (#23)
We shouldn't really be returning Zval objects, rather references to Zval
objects. There is currently a memory leak with arrays that need to be
resolved.
2021-04-18 21:57:40 +12:00

17 lines
298 B
PHP

<?php
var_dump(SKEL_TEST_CONST, SKEL_TEST_LONG_CONST);
var_dump(test_array());
die;
$x = new TestClass();
skeleton_version(1, 2);
var_dump($x->call(function ($v1, $v2) {
// var_dump($v1, $v2);
// echo "Hello, world! I'm a callable.".PHP_EOL;
// return "Ok rust";
return 0;
}));