PHP course. Local, Global, Static and External Variables in PHP

$10.93


Buy
MasterCard Visa
Infoslovo

Description

<p>This course will talk about what global variables are in PHP and how they differ from local variables. The reader will also learn how to use the GLOBALS associative array instead of the Global keyword. Explanations will be given using concrete examples.</p> <p>In the PHP programming language, there is a concept of global variables. But first we should remember about local variables. The latter are defined inside a user-defined function (inside a subroutine), and you can refer to it only in that function. Thus, a local variable is available only inside the function in which it is defined (available in the local scope).</p> <p>GLOBALS is an associative array, its key is its name, its value is the contents of the global variable. It is important to pay attention to the fact that $GLOBALS can exist in almost any scope, which is explained as follows: this array is superglobal.</p> <p>Buy the course and get new knowledge!</p>

ABOUT US
onliner.academy is a knowledge marketplace. On our site you will find a huge number of courses in different areas - learning different languages (English, German, Spanish, French and others), courses on programming, professional development and much more. Join in!
TESTIMONIALS
12 206 specialists already with us
Join those who are already on the path to growth: share your discoveries, exchange experiences, be inspired and get support from like-minded people
how do I get my order?
1
Put a digital item in your cart
2
Pay your order
3
Specify your email at checkout
4
Receive access to your purchase by email
Payment Methods:
MasterCard Visa