mirror of
https://github.com/php/php-src.git
synced 2026-04-14 11:32:11 +02:00
The qa.php.net currently includes nice collection of information about tests and how to run them. Instead of maintaining two locations of this information, this patch removes the README.TESTING from the php-src repo. Patch for qa.php.net has been sent separately to that repo.
19 lines
467 B
PHP
19 lines
467 B
PHP
--TEST--
|
|
Check for sodium presence
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("sodium")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
echo "sodium 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
|
|
*/
|
|
?>
|
|
--EXPECT--
|
|
sodium extension is available
|