A Function in PHP is a reusable piece or block of code that performs a particular activity. It takes input from the user as parameters, plays out specific activities, and gives the result. Functions can either return values when called or can simply perform out an activity without returning any value.
Syntax
function functionName(>
{
code to be executed;
}
Let's see an example
<?php
function familyName($fname>
{
echo "$fname \n";
}
familyName("anjali">
;
familyName("neha">
;
familyName("pooja">
;
?>
Output

Try it here
php framework
A PHP system is a stage to fabricate PHP web applications. PHP structures give libraries to normally utilized capacities, which assists with eliminating how much unique code designers need to compose without any preparation. A PHP structure gives an essential establishment to the improvement of web applications in PHP.
php new line
Utilize the Newline Characters ' \n ' or ' \r\n ' You can utilize the PHP newline characters \n or \r\n to make another line inside the source code. Nonetheless, assuming that you need the line breaks to be apparent in the program as well, you can utilize the PHP nl2br(>
work which embeds HTML line breaks before all newlines in a string.
what php is used for
PHP is a server side prearranging language that is inserted in HTML. It is utilized to oversee dynamic substance, data sets, meeting following, even form whole online business destinations. It is incorporated with various famous data sets, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
php redirect to another page
php form validation
php base64 encode
php jwt
php yield
The yield catchphrase is utilized to make a generator work. Generator capacities go about as iterators which can be circled through with a foreach circle.
php get class name
Use get_class(>
Function to Get Class Name in PHP. PHP gives a get_class(>
work. This capacity will return the class name. You can utilize it in procedural and object-situated programming.
php xml extension
php zend framework
Zend is an open source PHP system. It is unadulterated item situated and worked around the MVC configuration design. Zend system contains assortment of PHP bundles which can be utilized to foster web applications and administrations. Zend was begun by Andi Gutmans and Zeev Suraski. This instructional exercise will give you a fast prologue to Zend Framework and make you alright with its different parts.
Php key exist
The array_key_exists(>
work actually takes a look at an exhibit for a predetermined key, and returns valid if the critical exists and bogus in the event that the key doesn't exist.
Php keywords
PHP has a bunch of catchphrases that are saved words which can't be utilized as capacity names, class names or strategy names. Before PHP 7, these catchphrases couldn't be utilized as class property
Php larvel tutu
Php object oriented programming
OOP represents Object-Oriented Programming.
Procedural writing computer programs is tied in with composing strategies or capacities that perform procedure on the information, while object-situated writing computer programs is tied in with making objects that contain the two information and capacities.
Php ksort
The ksort(>
work sorts an affiliated exhibit in rising request, as indicated by the key.
Syntax
ksort(array, sorttype>