You analyze the code of a colleague and see a call to the function quotemeta(). You give the string "Holy $%&[. What's going on?" as a parameter to it. What will it output?
A. Holy \$%&\[\. What's going on\?
B. Holy $%&[. What's going on?
C. Holy \$\%\&\[\. What\'s going on\?
D. Holy $%&[. What\'s going on?
正解:A
質問 2:
What will be the output of the following code?
$a = array(0, 1, 2 => array(3, 4)); $a[3] = array(4, 5); echo count($a, 1);
A. 8
B. 4
C. 5
D. None of the above
正解:A
質問 3:
What is the output of the following code?
$first = "second";
$second = "first";
echo $$$first;
A. second
B. first
C. an empty string
D. an error
正解:A
質問 4:
The following form is loaded in a browser and submitted, with the checkbox activated:
<form method="post">
<input type="checkbox" name="accept">
<form> In the server-side PHP code to deal with the form data, what is the value of $_POST['accept']?
A. accept
B. ok
C. true
D. on
正解:D
質問 5:
What XML component does the following XPath query try to match?
//foo[bar/@id=5]
A. foo element with a child note bar whose id attribute is equal to 5
B. foo element containing a child node bar tag
C. id attribute whose value is equal to 5
D. all of the foo elements that have a child node bar, whose id attribute is equal to 5
E. bar element with an id attribute whose value is equal to 5
正解:D
Takahashi -
また、図解を豊富に取り入れて、知識を整理できるようにしました。200-530の問題集、試験ガイドで十分です。