, Such as the invalid value assignment method

Source: Internet
Author: User
For help, is this assignment method illegal? $ A & nbsp; $ a1 $ a2 $ a3 $ a4 $ a5; shared to: more ------ solution ----- help for help, is this assignment method illegal?
$ A = "$ a1
$ A2
$ A3
$ A4
$ A5
";

Share: More


------ Solution --------------------
It is valid if $ a1, $ a2, $ a3, $ a4, and $ a5 exist.
------ Solution --------------------
Naming rules for variables:

1. variable names are case sensitive.

2. the built-in structure, keywords, and user-defined class names and function names are case-insensitive.

3. it can only start with a letter or underline ..

Variable naming method:

Lowercase letters, expressive words, and underlines between words

Example: $ name $ post_form $ name_arr.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.