Programming - PHP

You Are Here :: Home > Programming > PHP- General Questions

 
43.

What will be the output of the following code? echo 30*5 . 7;?                          


A. 150.7 B. 1507
C. 150.7 D. you can't concatenate integers




44.

In your PHP application you need to open a file. You want the application to issue a warning and continue execution, in case the file is not foun The ideal function to be used is:?                          


A. include() B. require()
C. nowarn() D. getFile(false)




45.

What will be the output of the following code??                          


A. int(3*4) B. int(12)
C. 3*4 D. 12




46.

You need to count the number of parameters given in the URL by a POST operation. The correct way is:?                          


A. count($POST_VARS); B. count($POST_VARS_PARAM);
C. count($_POST); D. count($HTTP_POST_PARAM);




47.

Which of the following is correct with regard to echo and print??                          


A. echo is a construct and print is a function B. echo is a function and print is a construct
C. Both are functions D. Both are constructs




48.

Which of the following functions output text??                          


A. echo() B. print()
C. println() D. display()




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on