answersLogoWhite

0

What are the limitations of PHP?

Updated: 9/14/2023
User Avatar

Wiki User

15y ago

Best Answer

Everything has limitations or disadvantages and PHP is no exception. The following are the limitations of PHP (so be WARNED !!) # PHP is NOT 100 % pure Object Oriented scripting language. But in near future PHP may support 100% object oriented scripting (PHP may imitate most of the syntax of Java language). PHP already imitates some features of Java language. (In future PHP language will imitate most features of Java language and Java programmers will love PHP. And PHP will have java keywords like class, extends, interface, implements, public, protected, private etc..). # PHP will NOT give the performance of "C" or "C++" language. Because it is scripting language and is interpreted it will be a bit slower than the optimized "C++" programs. For top performance, you should use "C++" and fast-CGI with database/webserver connection pooling and use C++ compiler optimizer "-O3" options. Zend optimizer in PHP 4 will speed up the performance of PHP and bring it very close to optimized "C" code . # But note a point that PHP was designed for very Rapid Web-Application Development tool. If it takes about 3 months to code a web application in C++, then using PHP you can develop the same web application in just 4 days!! And with zend optimizer, the speed of execution of PHP will be very close to that of equivalent C++ program!! Hence, there is really no advantage in using C/C++ for web development. PHP itself is written in 100% "C" language. On the other hand, PHP has lot of advantages and it's advantages outweigh it's limitations - # You can very rapidly develop web applications in PHP as compile and link is eliminated in PHP scripting language. # PHP applications are very stable and do not depend on the browser technologies unlike Javascript applications which depend on browsers. PHP will give you the freedom to select any server platform. The browser does not know that the HTML page is generated by PHP !! # PHP has excellent database conectivity to all SQL database servers. # PHP has partial support for Object oriented features # PHP has C++, Perl, Javascript like syntax features and has programs like 'ptags/ctags' to navigate the source code # PHP has Zend optimizer which speeds up the performance # PHP runs on all unixes, linux, Windows 95/NT/2000 and is more powerful than ASP, JSP and others. # PHP has a very large user base and developer base.

Ref:http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-14.html

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the limitations of PHP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are limitations of PHP?

PHP is used with HTML to interact with the web server to process forms, access and manipulate


How do you determine what the statute of limitations is on a credit card dept from 2001 in the state of Nevada?

http://www.creditcards.com/credit-card-news/credit-card-state-statute-limitations-1282.php


What are the limitations of PHP jabbers restaurant booking system?

Your hosting account must support PHP 4.1 and MySQL 4.1. See the related link for further information. User licenseDeveloper licensePHP4.1 or more4.1 or moreMySQL4.1 or more4.1 or more


What is 10 percent in Php 250?

Answer: Php 2510% of Php 250= 10% * Php 250= 0.10 * Php 250= Php 25


How do you use ffmpeg in php?

As far as i remember it need additional programs installed on server (not sure), but there was some limitations that forced me develop my own MP3 editor :D


What is a php consultant?

PHP Consultant is a Expert PHP Developer who Guide PHP Development Process


What is the default extension that most Web servers use to process php scripts?

PHP files extension is .php


What are semantics in PHP?

In PHP, semantics refer to the meaning of code or how statements are interpreted by the PHP engine. It involves understanding how code functions and interacts with other elements in a PHP script. Proper semantics ensure that the code behaves as expected and follows the established rules of the PHP language.


Is php a binary file?

No, PHP is text file with .php extension.


Will php 4.4.7 server support php 5 files?

Yes php 4.4.7 server support php 5 files. But most of the php 5 features are not supported by php 4.4.7 version


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 is new in PHP?

PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.