Difference Between $var and $$var in PHP

PHP $$var uses the value of the variable whose name is the value of $var. It means $$var is known as reference variable where as $var is normal variable.

Published
Categorized as PHP

PHP Superglobal – $GLOBALS

PHP $GLOBALS $GLOBALS is a PHP very worldwide variable which is utilized to get to worldwide factors from anyplace in the PHP content (additionally from inside capacities or strategies).  PHP stores every worldwide variable in a cluster called $GLOBALS[index]. The file holds the name of the variable. Example #1 Using global Example #2 Using $GLOBALS… Continue reading PHP Superglobal – $GLOBALS

Published
Categorized as PHP

What is Superglobals variable in php ?

Some predefined variables in PHP are “superglobals”, which means that they are always accessible, regardless of scope – and you can access them from any function, class or file without having to do anything special. Superglobal variables are:  $GLOBALS  $_SERVER  $_GET  $_POST  $_FILES  $_COOKIE  $_SESSION  $_REQUEST  $_ENV *We will explain in detail about these superglobal… Continue reading What is Superglobals variable in php ?

Published
Categorized as PHP

Python Introduction

What is Python? Python is a popular programming language. It was created by Guido van Rossum, and released in 1991. It is used for: web development (server-side), software development, mathematics, system scripting.

4 Github alternative

1. GitLab GitLab is Associate in Nursing open supply project with over 2000 contributors maintained by GitLab opposition. it’s one application for the whole DevOps lifecycle. By delivering new practicality at Associate in Nursing industry-leading pace, GitLab provides one application for the whole computer code development and operations lifecycle. It provides everything you wish to manage, plan, create, verify, package, release, configure, monitor, and secure applications. 2. Bitbucket Bitbucket may be a web-based version management repository hosting service for ASCII text… Continue reading 4 Github alternative