xref: /php-src/ext/sodium/tests/version.phpt (revision 6c9a0566)
1--TEST--
2Check for libsodium version
3--EXTENSIONS--
4sodium
5--FILE--
6<?php
7echo strlen(SODIUM_LIBRARY_VERSION) >= 5;
8echo "\n";
9echo SODIUM_LIBRARY_MAJOR_VERSION >= 4;
10echo "\n";
11echo SODIUM_LIBRARY_MINOR_VERSION >= 0;
12?>
13--EXPECT--
141
151
161
17