Related Content
PHP Question: Variable Reference
10th December 2023
Question
What does the following code print out?
function arrayPrint($array)
{
echo implode(' ', $array);
}
$arrayA = [1, 2, 3];
$arrayB = $arrayA;
$arrayB[1] = 0;
arrayPrint($arrayA);PHP Question: Post Variables
29th July 2011
Question Take the following HTML form.
PHP Question: While And Do While Looping
16th May 2011
Question
What does the $count variable equal after each of these loops?
PHP Question: Defining Constants In PHP5
9th May 2011
Question
What does the following code do?
define("MY_CONSTANT", array(1,2,3,4,5));PHP Question: Class Methods
4th May 2011
Question
What is the difference between these two lines of code and can you produce the background code used for them?
PHP Question: PHP Script Shape
1st May 2011
Question
Write a PHP script that will print out the following text in the correct diamond shape.
*
***
*****
*******
*********
*********
*******
*****
***
*
Pete