answersLogoWhite

0

Parse error in PHP means that your script is invalid - it is not compliant with the programming language specification. After parse error script is no longer executed.

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Basic Math

What is the default error handling in PHP?

The default error handling in PHP is simply an error message with a filename, line number, and a small message describing the error. This information however, can be invaluable to increasing the security potential of a website or business.


What are the different types of errors in PHP?

basicly four type errors in php warnings fatal notices parse and internly e_fatal e_warning e_fatal e_user_error e_user_warning e_user_fatal e_core_error e_core_warning e_compile_error e_recvoverable_error e_strict e_all


What are the Error occurs when no checkbox is checked in PHP?

Suppose you have checkbox in HTML from and and you are calling that checkbox by name in php , In that case in you don't check and hit submit , You will get Undefined parameter 'name_of _checkbox' As Error.


How do you Display The Error Messages in PHP?

To display your own defined error message in php simply echo error message. To see errro message while query execution simply do mysql_error(); Or so enable syntax error and warnings use error_reporting(1) in the beggining of script.


What is fatal error in php?

A fatal error in PHP occurs when the interpreter encounters a critical issue that prevents the script from continuing execution. This can happen due to reasons such as calling an undefined function, including a non-existent file, or running out of memory. When a fatal error occurs, PHP stops the script immediately and outputs an error message, which can help in diagnosing the problem. It's important to handle such errors properly to ensure a smooth user experience and maintain application stability.

Related Questions

Parse error expecting semicolon or comma in PHP file?

Most lines require a semi-colon and the end. It's likely that that line does. A parse error is an error in syntax so you need to add ; at the end of the line like so:


What is a PHP parser?

PHP is a programming language, and parser specifically is part that reads human-readable representation of code to generate parse tree and later opcode representation of code that can be interpreted by php interpreter.


How can one speed up PHP with APC?

ACP is an open source caching plugin for PHP. When installed, PHP scripts don't have to continuously parse and compile data - they can just pull them directly from the cache.


How do you parse very large XML feeds into MySQL with PHP?

You will use an xml parser like simple xml. If you will focus on timeout/connection time out in curl and script time out in php is set to 0(no limit) it will help.


What is the default error handling in PHP?

The default error handling in PHP is simply an error message with a filename, line number, and a small message describing the error. This information however, can be invaluable to increasing the security potential of a website or business.


What this means and how to fix it when you go on a web page Parse error syntax error unexpected T STRING expecting '' or '' in varwwwphpbbcommonphp on line 22?

== ==


What are the different types of errors in PHP?

basicly four type errors in php warnings fatal notices parse and internly e_fatal e_warning e_fatal e_user_error e_user_warning e_user_fatal e_core_error e_core_warning e_compile_error e_recvoverable_error e_strict e_all


What problems can PHP sleep cause when writing PHP code?

On earlier versions of PHP, when PHP sleep was called on Windows machines, it returned an error. The command can also be interrupted by the Operating System.


How can you run PHP files?

Use the 'include()' in your pages. Eg. include(link.php); ?> Normally PHP files are meant to be run through a web server which serves on a browser. What is outputted is the HTML of the page along with any information that is generated by php depending on the code inside the page. If you would like to run the PHP code from the command line you can using the php executable. If you are on a windows machine you can do the following: c:\php>php c:\websites\webroot\filename.php This will output the HTML that the PHP generates after being parse by PHP. You can also do this on Linux as follows: $->php /path/to/file.php


What is meant by .phtml?

Some people choose to run their PHP files via the .phtml extension. Web servers, such as apache, allow us to define our own extensions. For apache, you'll have to load httpd.conf and find/edit a line in similar fashion to : AddType application/x-httpd-php .php .php3 .phtml .foo : It means that PHP will parse .php .php3 .phtml and .foo files on this server.


What are the Error occurs when no checkbox is checked in PHP?

Suppose you have checkbox in HTML from and and you are calling that checkbox by name in php , In that case in you don't check and hit submit , You will get Undefined parameter 'name_of _checkbox' As Error.


How do you Display The Error Messages in PHP?

To display your own defined error message in php simply echo error message. To see errro message while query execution simply do mysql_error(); Or so enable syntax error and warnings use error_reporting(1) in the beggining of script.