PHP Test Problems 1 -- For Fun

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
eduardodbarrete
Forum Newbie
Posts: 2
Joined: Fri Sep 26, 2008 10:37 am

PHP Test Problems 1 -- For Fun

Post by eduardodbarrete »

1. What is the purpose of:
$meith = 0;
if( isset($_REQUEST[‘uieth’])) $meith = $_REQUEST[‘uieth’];

2. How do you call a function of a class’s parent class?
3. How do you derive one class from another in PHP?
4. How do you declare a class in PHP?
5. What is a set Method?
6. Given the following why and how would you use a setMethod?
Class DIV{
$nom;
$denom;
Function do_it()
{
Echo $nom/$denom;
}
}
Post Reply