xref: /PHP-8.0/ext/sodium/tests/installed.phpt (revision f8d79582)
1--TEST--
2Check for sodium presence
3--SKIPIF--
4<?php if (!extension_loaded("sodium")) print "skip"; ?>
5--FILE--
6<?php
7echo "sodium extension is available";
8/*
9        you can add regression tests for your extension here
10
11  the output of your test code has to be equal to the
12  text in the--EXPECT-- section below for the tests
13  to pass, differences between the output and the
14  expected text are interpreted as failure
15*/
16?>
17--EXPECT--
18sodium extension is available
19