Since callback::foo_T<int> isn't a PHP resource, that error message doesn't really make sense as it was. As discussed in #467.
9 lines
223 B
PHP
9 lines
223 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
require "callback.php";
|
|
// In 2.0.6 and earlier, the constant was misnamed.
|
|
if (gettype(callback::FOO_I_Cb_Ptr) !== 'resource') die("callback::FOO_I_Cb_Ptr not a resource\n");
|
|
|
|
check::done();
|
|
?>
|