Home / Articles

Articles

Variables in PHP

Variables in PHP
As in any other programming language, PHP has such things as variables.

Constants in PHP

Constants in PHP
A constant is a named value that doesn't change while the program (script) in running.

Initialization of objects in PHP

Initialization of objects in PHP
Sometimes you need to initialize an object - that is, to assign initial values to its properties.

Classes and objects in PHP: destructors

Classes and objects in PHP: destructors
PHP does not directly support destructors. However, you can easily simulate a destructor by calling the PHP function unset.

Classes and objects in PHP: constructors

Classes and objects in PHP: constructors
Quite often, when creating an object it is required to set values to some properties. Fortunately, the developers of OOP took this into account and implemented it in the concept of constructor.

How to access classes and objects in PHP

How to access classes and objects in PHP
Now let's learn how to access to the class members. In PHP there's a special operator for these purposes.

Classes and objects in PHP

Classes and objects in PHP
Class - is a basic concept in object-oriented programming (OOP).

What is stdClass and how to work with it in PHP

What is stdClass and how to work with it in PHP
stdClass is a default object which doesn't have predefined properties like a usual custom class.

What is PHP?

What is PHP?
If you're just starting to get acquainted with PHP, you need to know the definition. So, what is PHP?

HTML5: making the text link for search

HTML5: making the text link for search
If you need to mark the link so that it would be displayed as a search result then use the new tag HTML5 - <mark>.

HTML5: changing the structure of the document

HTML5: changing the structure of the document
Why change the structure of the document? In order for the document to have a correct code and only necessary elements.

HTML5: elements article and section

HTML5: elements article and section
In this article you will learn about two new elements in HTML5 - section and article.

HTML5: adding new elements

HTML5: adding new elements
In this article you will learn about new HTML5 elements and how to use them properly, as well a few useful tips.

HTML5: optimization of <link> and <script>

HTML5: optimization of <link> and <script>
In this article you will learn how to connect to your page JavaScript and CSS files.

Quick navigation

General navigation