mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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.
18 lines
322 B
PHP
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.
|