Files
libguestfs/php/extension/guestfs_php_001.phpt
Richard Jones 2c61e04c45 PHP bindings.
Note that these are not complete on 32 bit architectures.  PHP doesn't
offer any convenient 64 bit type (on 32 bit).  Therefore you should
always use these PHP bindings on 64 bit.
2010-09-04 13:38:03 +01:00

18 lines
322 B
PHP

--TEST--
Load the module and create a handle.
--FILE--
<?php
// See comment in php/run-php-tests.sh.
//putenv ('LIBGUESTFS_DEBUG=1');
$g = guestfs_create ();
if ($g == false) {
echo ("Failed to create guestfs_php handle.\n");
exit;
}
echo ("Created guestfs_php handle.\n");
?>
--EXPECT--
Created guestfs_php handle.