php-src/ext/ncurses/tests/001.phpt
Hartmut Holzgraefe 453a4ae985 initial version of ncurses extension,
see example1 for whats possible right now
2001-06-12 21:15:49 +00:00

23 lines
559 B
PHP

--TEST--
Check for ncurses presence
--SKIPIF--
<?php if (!extension_loaded("ncurses")) print "skip"; ?>
--POST--
--GET--
--FILE--
<?php
echo "ncurses extension is available";
/*
you can add regression tests for your extension here
the output of your test code has to be equal to the
text in the --EXPECT-- section below for the tests
to pass, differences between the output and the
expected text are interpreted as failure
see php4/tests/README for further information on
writing regression tests
*/
?>
--EXPECT--
ncurses extension is available