answersLogoWhite

0

Please see this example as below.

<?php

$first_variable = "Heloooo";

function first_method(){

print 'Heloooo';

}

class firstClass{

public $testvar="";

function firstClass(){

// initialize

$this->testvar = "Hiiiiiii";

}

function first_method_inclass(){

print 'Heloooo';

}

}

?>

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is PHP Delimiter?

Delimiter is a special character or a symbol to seperate the string


PHP server scripts are surrounded by delimiters?

Yes, PHP server scripts are surrounded by delimiters.Long starting delimiter:


What is the definition of PHP programming?

PHP programming is a scripting language. This scripting language can be used in web page development. In addition, PHP commands can be embedded into an HTML document. PHP software is available at no cost.


What scripting engine does PHP use?

PHP itself is a scripting language, and uses it's own PHP interpreter (engine).


Which kind of service is php hosting?

PHP is a scripting language used for web servers and application development. PHP hosting is a web hosting service that allows for more complex site because is supports the PHP scripting language.


What is PHP and PHPMyAdmin?

PHP is a server-side scripting language that can be used to dynamically generate the content of web sites served up to a client. It can also be used for local shell scripting. PHPMyAdmin is a PHP based web interface for managing MySQL databases.


Where does PHP used?

PHP is a Server side scripting language used for web development.The programs in php will be run on the server and only the output is sent to the internet browser.


What does an index php signify?

PHP is an open-source scripting language used to code websites and webpages. An index php is a page used on a web server as the main frontpage for the website.


What do the standard PHP delimiter tags look like?

The two standard PHP delimiter tags look similar to XML/HTML languages.The beginning tag is:


What is the setting mail php used for?

When referring to the mail setting PHP, it is a server side scripting language that is designed for web development. PHP can also be used for a general purpose programming language.


What is meant by script?

JavaScript is a scripting language that can be used with HTML or PHP. It is used for handling the control or conditioning.


What does a PHP 5 ChangeLog do?

PHP is a scripting language this is used for web development. The PHP 5 ChangeLog is log which lists all of the fixed bugs on PHP Version 5. This can be found on the PHP website as a point of reference.