PHP Zeug

Composer install on Linux

Download Composer and

sudo php composer-setup.php --install-dir=/usr/bin --filename=composer

Request Content mal anders

$put = array();
parse_str(file_get_contents('php://input'), $put);

short codes

if null:

$a = $b ?? '';

if empty

$a = $b ?: '';