diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-05-06 02:10:06 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-05-08 22:00:22 +0200 |
commit | 99b94fbb5c4fa622f7a57b754e98399930f53bf7 (patch) | |
tree | 8b40ecde8945049ae66dbebc063ec1c7dc113bee | |
parent | 71acd7a2f7ec59fb3aea16939f33ed3fcc7189c4 (diff) | |
download | php-git-99b94fbb5c4fa622f7a57b754e98399930f53bf7.tar.gz |
Remove redundant example/test libsodium.php file
-rw-r--r-- | ext/sodium/libsodium.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/sodium/libsodium.php b/ext/sodium/libsodium.php deleted file mode 100644 index bb18faff19..0000000000 --- a/ext/sodium/libsodium.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -$br = (php_sapi_name() == "cli")? "":"<br>"; - -if(!extension_loaded('libsodium')) { - dl('libsodium.' . PHP_SHLIB_SUFFIX); -} -$module = 'libsodium'; -$functions = get_extension_funcs($module); -echo "Functions available in the test extension:$br\n"; -foreach($functions as $func) { - echo $func."$br\n"; -} -echo "$br\n"; -$function = 'sodium_memzero'; -$exit = 0; -if (extension_loaded($module)) { - $str = $function($module); -} else { - $str = "Module $module is not compiled into PHP"; - $exit = 255; -} -echo "$str\n"; -exit($exit); -?> |