DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Variables — Example 18

Quick explanation + ready code for: Variables.

PHP Variables Back to examples
Back to language
Syntax: Variables in PHP. ID: #18

Code

const name = "DrSchool";
let count = 13;
console.log(name, count);

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.