JavaScript <-> PHP | Variable use
JavaScript
variable use
Description
name
Data:
- name -
Output
- return - Any
Examples
JavaScript
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
JavaScript
a && b
a || true
!a
.
PHP
$
Description
$name
Data:
- name -
Output
- return - Any
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
You can find it in the following collections: value receiver | value sender
Variable use in another programming language:
Differences to: