Do not run test if session extension is not avaliable.

This commit is contained in:
Ilia Alshanetsky 2004-01-10 18:32:46 +00:00
parent cc5773e775
commit 0e32fbb4dd

View File

@ -1,7 +1,12 @@
--TEST--
SOAP Server 9: setclass and setpersistence(SOAP_PERSISTENCE_SESSION)
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php
require_once('skipif.inc');
if (!extension_loaded('session')) {
die('skip this test needs session extension');
}
?>
--FILE--
<?php
class foo {