pecl-tools-stomp/tests/005-close/001.phpt

13 lines
256 B
PHP

--TEST--
Test stomp_close() - tests parameters
--SKIPIF--
<?php
if (!extension_loaded("stomp")) print "skip";
?>
--FILE--
<?php
stomp_close(null);
?>
--EXPECTF--
Warning: stomp_close() expects parameter 1 to be resource, null given in %s on line %d