Exercises
-
Which of the following are not valid variables:
-
a) $blah
-
b) $f11
-
c) $_11f
-
d) $11f
-
e) None of the above
-
-
What will $foo be set to in this expression: $foo = "wombat" * 2?
-
What will $bar be set to in this expression: $bar = 5 * 5 + 5?
-
What does the =< operator do?
-
How does OR differ from || ?
-
The superglobal array variables are accessible...
-
a) Only outside functions
-
b) Only inside functions
-
c) Anywhere except in classes
-
d) Anywhere, as long as they are defined GLOBAL
-
e) None of the above
-



Copyright 2012 Future Publishing Limited (company
registered number 2008885), a company registered
in England and Wales whose registered office is at
Beauford Court, 30 Monmouth Street, Bath, BA1 2BW, UK