Answers for "php hide all errors and warnings"

PHP
1

how to install latest composer in mac

brew install composer
Posted by: Guest on March-02-2021
1

update composer mac

#Ubuntu-Download Composer and create a Phar (PHP Archive) file
$ curl -s https://getcomposer.org/installer | php

#Move it to bin directory
$ sudo mv composer.phar /usr/local/bin/composer
Posted by: Guest on November-25-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
1

php remove warning

error_reporting(E_ALL ^ E_WARNING);
Posted by: Guest on June-20-2020
0

php remove warning

error_reporting(E_ERROR | E_PARSE);
Posted by: Guest on June-20-2020

Browse Popular Code Answers by Language