Aditya Sharma

Strings in PHP – Free PHP Tutorials

Strings in PHP can be handle easily for real life application.In programming, strings are concatenations of characters. PHP brings a whole set of predefined functions that help you in interacting with strings. You can find the entire list of functions at http://php.net/manual/en/ref.strings.php, but we will only cover the ones that are used the most. Let’s look at …

Strings in PHP – Free PHP Tutorials Read More »

Abstract Classes in PHP

Abstract Classes in PHP were introduced in version 5. Classes defined as abstract may not be instantiated, and any class that contains at least one abstract method must also be abstract. Methods defined as abstract simply declare the method’s signature – they cannot define the implementation. How to create an abstract method? We use the keyword abstract before the method name when we want to create an abstract …

Abstract Classes in PHP Read More »

Operators in PHP – Free PHP Tutorials

Operators in PHP define the type of operation to be performed on the operands i.e. values and variables. Operators are of great importance for any programming language. It makes problem-solving very easy. In PHP we have the following set of standard operators: Increment and Decrement Arithmetic Relational/Comparison String Assignment  Array Logical INCREMENT AND DECREMENT  In programming terms, …

Operators in PHP – Free PHP Tutorials Read More »