Answers for "hide errors in php"

PHP
0

ubuntu install composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '8a6138e2a05a8c28539c9f0fb361159823655d7ad2deecb371b04a83966c61223adc522b0189079e3e9e277cd72b8897') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Posted by: Guest on August-28-2020
1

php hide errors

ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(0);

/* [email protected] */
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language