answersLogoWhite

0


Best Answer

PHP is a rather loose language that is fairly upfront. Functions, classes, and variables are easy to manipulate and use. It has very similar syntax in comparison to higher level languages such as C, allowing the branching of more complicated languages (starting with a watered down language like PHP). The PHP engine parses scripts quickly, and has a very elaborate error system, detailing why an error occured, where it started or ended, and what caused it (if applicable). Easy INI settings allow you to surpress these errors when it's time to put your website to professional use (the INI settings can control many other options, at that). PHP has MySQL, Oracle, and many other major database support. Extensions can be added on to further the classes and functions a programmer is capable of performing. You can even write your own scripts and share them with the world with the PHP Extensive Application Repository (or, PEAR for short). However, some people find the PHP language complicated -- or contrary, too loose. Programmers with little experience may find complex source too difficult to understand, and they may never end up understanding it. Programmers with higher levels of experience may find PHP's syntax to be too lose; for example, comparing an integer to string that has an integer in it (two completely different types of variables) would cause errors in higher level languages, stating that the comparison is invalid. PHP allows this sort of syntax, and (in a sense) converts the string into an integer.

User Avatar

Wiki User

βˆ™ 15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are some advantages and disadvantages of using PHP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the advantages and disadvantages of PHP with mysql?

Ultimately PHP is a programming language and MySQL is a database language. Using PHP with MySQL is a nice combination with built-in support and the simplicity of it all. However, there aren't a lot of disadvantages of using PHP with a database, it just allows for better data organization and whatnot. There are definitely advantages and disadvantages to using a database other than MySQL (such as MongoDB or PostgreSQL).


What are the advantages and disadvantages of the PHP functions include and require and any functions that branch off of them?

something


What are the advantages and disadvantages of PHP functions?

There are too many (hundreds) functions for there to be an answer to this. Advantages are that they can be used server side to print output that can be translated from databases etc. Disadvantages it that it can delay the loading time of all you pages.


Research on advantages and disadvantages of php hypertext preprocessor?

Advantages: Easy to maintain and Less time wasted if you needed to change one script Disadvantages: Time-Consuming when you're converting and con't work in DW properley.


Does android supports PHP?

It supports websites made on php but not coding in php. There are workarounds for coding in PHP using Android.


What are the primary reasons for using PHP programming services?

There are many reasons to use PHP programming services. Some reasons are hundreds of existing php code examples, free, experienced support from a 1000 php communities, and php is scalable to the largest web applications.


Is Answers.com coded using PHP or ASP?

If you're referring to Answers.com, it's built using PHP as a backend.


How do you add a comment in PHP?

< ?php // This is an example of comment in PHP /* This is another example of comment in PHP and we can write comments in multiple lines using this method */ ? >


Why do we use Php?

PHP is an Open Source Scripting Language. We can create Web Pages and Web Applications using PHP.


How to display a variable in PHP using echo or print statements?

displaying a variable in php using echo statement? <?php $name="ram"; //declaring and defining the variable echo "$name"; //printing the variable using echo command ?>


How do you output a star using PHP?

type this in a file save it as something.php and then run it <?php echo '*'; ?>


What are the advantages of php file system?

PHP is a scripting side language and has more key points than other development languages. The speed of PHP is fast relative to other languages because it uses many system resources. It is an open-source language that’s why it is maintained by a large group of PHP developers and the support community is more than other languages. It is easy to use because it follows the syntax of β€œC”. Those who familiar with C language can easily understand PHP. It has powerful library support you can easily find functional modules. It has built-in database functionality. These are some points that consider as core advantages of PHP.