题目
题目

SENG1050 (T3 2025 PSB) Practice Quiz Week 6

多项选择题

Which of the following variable names are valid in PHP?

选项
A.$MY___Var1Ab13
B.$my variable
C.$_abc_123
D.$4useBY
E.$current
F.$my!Var
G.$for
H.$!Number
查看解析

查看解析

标准答案
Please login to view
思路分析
Question restatement: Which of the following variable names are valid in PHP? Options to consider: "$MY___Var1Ab13", "$my variable", "$_abc_123", "$4useBY", "$current", "$my!Var", "$for", "$!Number". Option 1: "$MY___Var1Ab13". This starts with a dollar sign followed by a sequence that begins with a letter (here, 'M'), and uses only letters, digits, and underscores thereafter. Underscores are allowed anywhere in the identifier, and mixed c......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!