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.
Month: March 2020
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
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 ?
Difference Between For loop and Foreach loop in PHP
Foreach Loop:- 1> Foreach loop used when you have an array, without array it’s not worked. 2> Loop working at the end of array count. i.e. an array have 4 value then loop run 4 times. 3> Syntax is : $array = array(“C”,”C++”,”JAVA”,”PHP”); foreach($array as $language ){ … Continue reading Difference Between For loop and Foreach loop in PHP
Single quotes, double quotes in 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