PHP Classes

File: scripts/

Recommend this page to a friend!
  Classes of Niko   PHP Serializable JSON and Array Entity   scripts/   Download  
File: scripts/
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Serializable JSON and Array Entity
Dump objects to strings in JSON and Array formats
Author: By
Last change:
Date: 5 years ago
Size: 513 bytes


Class file image Download
#!/bin/sh EXPECTED_SIGNATURE="$(wget -q -O -" php -r "copy('', 'composer-setup.php');" ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] then >&2 echo 'ERROR: Invalid installer signature' rm composer-setup.php exit 1 fi php composer-setup.php --quiet --filename="composer" --install-dir="/usr/bin" RESULT=$? rm composer-setup.php exit $RESULT