mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
23 lines
543 B
PHP
23 lines
543 B
PHP
--TEST--
|
|
Check for gmp presence
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("gmp")) print "skip"; ?>
|
|
--POST--
|
|
--GET--
|
|
--FILE--
|
|
<?php
|
|
echo "gmp 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--
|
|
gmp extension is available
|