Learn PHP programming language with the best tutorials resources. PHP tutorials help you understand the basic and advance terms , codes of PHP language. Start learning PHP from the beginner with daily updated tutorials.
In this tutorial, we will learn about data types. Complete designed program and tutorials based on PHP 5 latest version.PHP data types like String, Integer, Float, Boolean, Array, Object, NULL, Resource with examples and real-time run
In this tutorial, we will Learn about PHP String. All string function examples are available. Discuss what is PHP string and its functions working.
Constants are like variables but there are many differences between constants and variables. The constant value cannot be changed during execution time.
The string functions work on the string that is part of the PHP code. These string functions are readymade PHP functions. You do not need any installation.
The array is the collection of similar data items. The array is used for the same data types. The array is a special type of variable that can contain various variables. The array can contain a lot of values in a list.
The index array is the array in which values of the array being assigned to an index number. As the name(index array) indicates, the index array has imported the index.
The two-dimensional array has rows and columns. The Multidimensional array can contain many arrays inside the array."
Associative Array is a simple and very importable array of PHP. The associative array is used to store in the key-value pair.
The array_merge() function is used to merge two or more array in one Array. If an index value is matching in arrays (two or more) so at the time of merge array value will be overwritten.Array merge function in PHP.
Explode function is used to split a string into an array. You can convert the string into an array. In this PHP tutorial, we create string and split into an array using explode() function, it splits it into the array.
Decision making means you have take a decision for you work code .if Statement is used when the one condition is true .(Only one statement ) .if statement,if else statement,nested if.else (if...else..else if..statement),switch statement
Switch Case is used to avoid the blocks of nested if-else.The switch statement is based on the case. Switch case statements are easy to use rather then if-else and nested if-else statements.
Loops in PHP are used to execute the block of code specified number of times.In for loop, you have to specify initial value and condition.
While statement(loop) depends on the expression if a test expression is true then the while statement will execute a block of code .PHP While Loop example.
In the do-while loop, code executes at least once then repeats the loop as long as a condition is true. The do-while loop is slightly different from the while loop.
The foreach loop is a very useful loop that accesses the array items one by one. The foreach loop work only on the array.Foreach loop in PHP with examples and reference.
Learn about the built-in function in PHP.Complete tutorials on built-in functions. Built-in functions are those functions that are already readymade. These functions are used for a specific purpose. Each built-in function has different functionalities.
Learn about the User-defined functions in PHP. In PHP there is various built-in function and also within you can create your own functions for different functionality perform. A user define the function in PHP declared by the word -function.PHP User Defined Functions examples and code.
Learn about pass by value vs pass by reference. In the pass by value, the argument values are affected only locally in the function. Difference between Pass by value vs reference in PHP.