What is the difference between functions and variables?
武汉蜗牛 - Jack Li
武汉蜗牛 - Jack Li 2019-09-08 11:38:24
0
8
2428

What is the difference between functions and variables? Why appear together? Functions and variables, all of them are faint.

武汉蜗牛 - Jack Li
武汉蜗牛 - Jack Li

reply all(5)
抬头仰望丶放肆的微笑

Learn c first

In php, all variables start with the $ symbol.

function function name (){

Function body; //The function body can be any executable code

  • reply The function name can be freely defined by yourself
    author 2019-09-09 11:40:59
每天至少八杯水

? Are you confused?

  • reply 2. The function name can only be a combination of letters, numbers, and underscores, and cannot contain spaces. Numbers cannot be placed at the beginning of the variable name. For those who need to learn, this paragraph either does not understand or does not understand well, at least it is ambiguous...
    武汉蜗牛 - Jack Li author 2019-09-08 17:39:13
武汉蜗牛 - Jack Li

I understand, but there is a passage in the article that confused me and I feel a bit confused.

达芬奇的烦恼

For example, the mathematical equation is x y=10, x is the variable, and the equation is the function.

  • reply In PHP, all variables start with the $ symbol. function is used to define functions. The function body can be any executable code.
    author 2019-09-09 11:28:21
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!