What is the output of the following script?
1
2 function fibonacci (&$x1 = 0, &$x2 = 1)
3 {
4 $result = $x1 + $x2;
5 $x1 = $x2;
6 $x2 = $result;
7
8 return $result;
9 }
10
11 for ($i = 0; $i < 10; $i++) {
12 echo fibonacci() . ',';
13 }
14 ?>
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
You want to present the following formatted number: "999.000.000,00". Which function call is correct?
What will be the result of the following operation?
array_combine(array("A","B","C"), array(1,2,3));
How many elements does the array $pieces contain after the following piece of code has been executed?
$pieces = explode("/", "///");
Which string will be returned by the following function call?
$test = '/etc/conf.d/wireless';
substr($test, strrpos($test, '/'));
How to read a single line, no matter how long from an file opened in the example below?
$fp = fopen("my_file.txt", "w");
PDF + Testing Engine |
---|
$66 |
Testing Engine |
---|
$50 |
PDF (Q&A) |
---|
$42 |
Zend Free Exams |
---|
|