12m 00s
ID: 449
Is the following valid PHP code?
<php> echo 'There's a worm in my apple'; </php>
ID: 757
What is the output of the following code?
function increment($val) { return ++$val; } echo increment(1);
ID: 546
What is the output of the following?
function a($number) { return (b($number) * $number); } function b(&$number) { return ++$number; } echo a(5);
ID: 634
SQL Injections can be best prevented using which of the following database technologies?
ID: 277
Fill in the blank with the appropriate function name. The __ function is used to set a cookie to be sent along with the rest of the HTTP headers.
ID: 665
What is the primary benefit of a SAX-based XML parser compared to DOM?
ID: 243
You have been given the following code snippet:
$stmt = $dbh->prepare("SELECT * FROM USER where name = ?"); if ($stmt->execute(array($_GET['name']))) { while (??????) { print_r($row); } }
What will you write at line number 4 to fetch data from database?
$row = $stmt->fetchall()
$row = $stmt->get()
$row = $stmt->getch()
$row = $stmt->fetch()
ID: 481
What does the chr() function do?
ID: 126
Which of the following options shows the correct format of fetching class variables using the $this variable?
ID: 64
You run the following script:
10 = $a; echo $a;
What will be the output?