PHP Classes

File: tests/polyfill_test.sh

Recommend this page to a friend!
  Classes of Scott Arciszewski   PHP Sodium Compat   tests/polyfill_test.sh   Download  
File: tests/polyfill_test.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Sodium Compat
Cryptographic functions of libsodium in pure PHP
Author: By
Last change:
Date: 4 years ago
Size: 352 bytes
 

Contents

Class file image Download
#!/usr/bin/env bash basedir=$( dirname $( readlink -f ${BASH_SOURCE[0]} ) ) wget https://github.com/php/php-src/raw/PHP-7.3/ext/sodium/php_libsodium.h echo "Checking files..." sed -n -e 's#^PHP_FUNCTION(\(\S\+\));$#\1#p' php_libsodium.h | xargs -L1 php "${basedir}/polyfill_test.php" STATUS="$?" rm php_libsodium.h echo "Check complete" exit $STATUS