In php, we often use the error_reporting function to handle errors. we can see that the most common function is error_reporting (E_ALL ^ E_NOTICE). What does this mean? let's take a look at it. The error_reporting () function specifies which error
Add a new table for data replication to the launched OracleGoldenGate environment.
Add a new table for data replication to the online Oracle GoldenGate environment.
1. Applicable versionThe operation method is valid in Oracle GoldenGate-Version:
However, Beginners should be cautious when using this function. do not cover up errors. Otherwise
ProgramThere is an inexplicable problem, and there is no way to change it.
After use, remember to disable the error catcher on error goto 0.Syntax:=
This article describes in detail the php,error_reporting, error report php error_reporting (e_all ^ e_notice) Open and close the error tips of some of the methods summarized, the need for a friend to refer to.
To illustrate:In the Windows
Error_reporting () function usage, errorreporting
The first thing to know is that the error_reporting () function is used to set the error level and return the current level. It has 14 error levels, as follows:
1 E_error Fatal Run-time error. The
The default setting for blocking notice warnings in PHP default settings notice
The default setting for PHP is to display the notice warning prompt, which causes the page to not display properly. You have a variable that is not defined and is used
A few practical points for making a high-security PHP website, security php practical points
As you know, PHP is now the most popular Web application programming language. But as with other scripting languages, PHP also has several very dangerous
An automatic test is written with an automatic test tool.
ProgramHowever, after running for a period of time, ie occasionally pops up an exception dialog box, asking you to choose whether to send the error report. The program is not so intelligent,
Definition and usage:Error_reporting () sets the PHP error level and returns the current level.
Function Syntax:Error_reporting (report_level)
If the level parameter is not specified, the current error level is returned. The following items are
This article summarizes the usage of php display_errors and log_errors. For more information, see this article.
Display_errors
Error ECHO, which is commonly used in development mode. However, many applications forget to disable this option in the
PHP outputs all error reports error_reporting = E_ALL settings
For example, do not display warning error_reporting = E_ALL &~ E_WARNING
Use the PHP function to set PHP. INI ini_set () as shown in Figure
Ini_set ("error_reporting", E_ALL)
You
The basic configuration information of CodeIgniter is in the application/config. php file. This article describes each basic configuration option in detail to quickly master CodeIgniter for development.
$ Config ['base _ url'] =
In Windows: The program that was originally running normally in php tutorial 4.3.0, why did multiple errors be reported in 4.3.1? The General prompt is: Notice: Undefined varialbe: variable name.For example, the following code is available:Copy the
$ Config ['base _ url'] = "http://www.jb51.net /". The URL of your website. CodeIgniter generates links and form addresses based on the URL.$ Config ['index _ page'] = "index. php": name of the index. php file under the CodeIgniter root directory.
Linux's screen command is good, and you will feel it is much better than windows's taskbar. The following is my. screenrc for your reference only.
#
#~ /. Screenrc
#
# Do not display the welcome screen at startup
Startup_message off
# Define the
,>After a file descriptor is started in linux, three file descriptors are opened by default, namely standard input 0, standard output 1, error output 2, and open the file. The new file binding descriptor can be added in sequence. A shell command
error_reporting Definition and usage
Error_reporting () Sets the error level for PHP and returns the current level. Syntax error_reporting (report_level) If the parameter report_level is not specified, the current error level is returned.
The
In Windows: The program that was originally running normally in php Tutorial 4.3.0, why did multiple errors be reported in 4.3.1? The general prompt is: Notice: Undefined varialbe: variable name.For example, the following code is available:Copy the
Obviously, Php+mysql+apache is a popular web technology, and this combination is powerful, extensible, and free. However, the default settings for PHP are not as appropriate for websites that are already online. The following changes the default
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.