Is php static or not

Updated: 9/22/2023
User Avatar

Wiki User

11y ago

Best Answer

PHP is a dynamic, server-side, web scripting language. It is capable of making connections to a database, and storing information to that database as well as reading queries form the DB. This means that PHP allows for the creation of dynamic web pages that change over time, as opposed to static HTML pages that are rewritten once and do not change without intervention by the page owner.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is php static or not
Write your answer...
Still have questions?
magnify glass
Related questions

How do you create static variables in PHP?

Use the "static" keyword to declare a static variable within a function like shown below. <?php function fun() { static $variable; static $another_variable = ''; } ?>

Why you say that no static binding in php?

PHP supports late static binding since version 5.3, which was officially released in June of 2009.

How can a PHP static be initialized?

PHP static can only be initialized using a literal or constant. You can not use an expression. You can initialize it to an integer but you may not to another variable.

How does PHP differ from HTML in terms of application and structure?

In structure <?php ?> <html> </html> in application - one is static and another is dynamic. this much ......

What is the disadvantage of using PHP?

As far as I know.. the only bad issue I see as a PHP developer is that you don't have the variables/attributes type. I mean you can set an integer attribute then set the same attribute as string. And I just discovered that if you use a non-static method as static, the php accepts it as if it was normal... =P The advantage of using php is that you may develop your systems faster and easily. Regards.. Gabriel Rocha

Why is PHP used?

PHP is used to create dynamic websites, this is a step up from HTML as it allows you to do much more than creating static websites. Using a language such as PHP also gives you access to using databases with your website such as MySQL.

What is php in address?

it means that the webpage was programmed in PHP (scripting language), so it's not pure static html, but (at least) parts of it are generated dynamically according to some data (usually from a database) - for example comments that users has added to articles, or such.

How do you animate in php?

There's no direct way to do animation in PHP, as it's a server side scripting language. That means that from the browser's point of view, there is no PHP code. It's just a static document that happens to be generated using PHP on the server side. If you want to do animation, you'll need to include client side scripting such as Javascript or Flash (or an animated GIF if something that simple meets your needs).

Can Anyone Elaborate the Full form of PHP Language?

PHP is a general-purpose programming language used to designed a website or and applications. It is the server-side scripting language embedded with HTML to develop Static website, Dynamic website or Web applications. PHP is stand for Hypertext Preprocessor and earlier it was abbreviated as Personal Home Page. For more info visit@ javatpoint

What is static language?

A static language is a programming language in which variables must be declared with their specific data types before they can be used. This allows for type checking to be performed at compile-time, catching potential errors before the program is executed. Examples of static languages include C, C++, Java, and C#.

Definition of static HTML?

HTML by its very nature is static. If you desire to have a dynamic site, that requires a coding language like PHP, ASP, or other dynamic language. These dynamic languages typically also use HTML to create the structure for a web page.

What is 10 percent in Php 250?

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