# PHP server scripts are surrounded by delimiters, which? ... ... script ... /script ... ?> #...
Question:
#
PHP server scripts are surrounded by delimiters, which?
...
<&> ...
script ... /script
... ?>
#
Suppose that $name contains a last name followed by a comma anda space, followed by a first name. Then, you can store the firstand last names in variables with code like this:
$i = strpos($name, ', ');
$first_name = substr($name, 0, $i);
$last_name = substr($name, $i+1);
$i = strpos($name, ', ');
$first_name = substr($name, 0, $i);
$last_name = substr($name, $i+2);
$i = strpos($name, ', ');
$last_name = substr($name, 0, $i);
$first_name = substr($name, $i+1);
$i = strpos($name, ', ');
$last_name = substr($name, 0, $i);
$first_name = substr($name, $i+2);
The print_r(), var_export(), and var_dump() functions are usedwith __________ to display the index and value of each element.
variables
functions
arrays
primitives
#
You use the __________ function to find the total numberof elements in an array.
sum()
counta()
count()
suma()
#
A(n) __________ operator requires a single operand either beforeor after the operator.
unary
single
binary
ternary
Automation Production Systems and Computer Integrated Manufacturing
ISBN: 978-0132393218
3rd edition
Authors: Mikell P.Groover