PHP - variable use: $

using variables, you can access the data stored in a variable, can be used to store or retrieve the value.

$

Description

$name
Data:
  • name -

Output

Examples

PHP

variable use the possible of use:
$x = 64 / 8;   // x=8
$y = $x / 0.5;   // y=16
$z = ($x * 2 / $y +5);// z=1.1

PHP

$a && $b
$a || true
!$a

PHP

Other pieces of example codes:
$x = 16 << 2
--$y;
$a1 = false || false
$y<5
(double)$i

you can find it in the following collections: value receiver | value sender
Languages: en hu cz sk