What does define mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does define mean?

26th Jul 2015, 12:55 PM
Zakaria Tilburg
4 Answers
+ 4
"define" is an action-based word, meaning "to assign something a definition". So if you define a function, you are creating it, and assigning it a task. If you define a variable, you are creating it, and assigning it a value. Simple as that.
21st Feb 2018, 2:52 PM
Fox
Fox - avatar
+ 1
define is a PHP function. Is used to define (or declare) constants in your code.
11th Jun 2016, 4:05 PM
Nelson Urbina
Nelson Urbina - avatar
+ 1
The define function is used to create a constant
1st Jul 2016, 8:42 AM
Midhun Mathew
0
define a constant. a value that can't be changed
15th Feb 2016, 6:19 PM
Igor Kuzmenko
Igor Kuzmenko - avatar