descripe please ! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

descripe please !

Define , what is it mean in php code

6th May 2017, 11:02 PM
Nesma Nazim
Nesma Nazim - avatar
3 Answers
+ 7
If you declare a variable in PHP, you can define it as many as you want, but can only be declared once
6th May 2017, 11:10 PM
Complex
Complex - avatar
+ 6
All programming languages have a variable that can be defined as much as you like but can only declare once. $x; $x = 10; $x = 20; echo x; //20
6th May 2017, 11:04 PM
Complex
Complex - avatar
+ 1
You mean it's declare once in one file php or what ?
6th May 2017, 11:10 PM
Nesma Nazim
Nesma Nazim - avatar