PH Test Paper Super comprehensive PHP face test set 1th/2 page

Source: Internet
Author: User
1. The time format of the day before printing with PHP is 2006-5-10 22:21:21 (2 minutes)
2, Echo (), print (), Print_r () difference (3 points)
3, the ability to make HTML and PHP separated from the use of the template (1 points)
4. What tools are used for version control? (1 points)
5, how to implement string rollover? (3 points)
---------------------------------------------------------------
6, optimize the MySQL database method. (4 points, more write more)
7, the Meaning of PHP (give 1 points)
8. What is the function of MySQL to get the current time?, the function to format the date is (2 points)
9, the implementation of the text string interception without garbled method. (3 points)
---------------------------------------------------------------
10. Have you ever used version control software? If you have the name of the version control software you are using? (1 points)
11. Have you ever used a template engine? If you have the name of the template engine you are using? (1 points)
12, please briefly describe your most proud of the development of the work (4 points)
13, for the large-volume website, what method do you use to solve the traffic problem? (4 points)
-----------------------------------------------------------------
14. Use PHP to write the code showing client IP and server IP 1 points)
15. What is the difference between statement include and require? To avoid including the same file multiple times, you can use (?) Statements instead of them? (2 points)
16, how to modify the session's survival time (1 points).
17, there is a web address, such as the PHP Lab homepage: http://www.php100.com, how to get its content? ($/min)
18, in HTTP 1.0, the meaning of status code 401 is (?); If you get a hint that "file not found" is returned, the header function is available and the statement is (?);( 2 min)
19, in PHP, Heredoc is a special string, its end flag must? (1 points)
20, talk about the advantages and disadvantages of asp,php,jsp (1 points)
21. Talk about MVC (1 points)
-------------------------------------------------------------------
22, write the number of the top 10 names of SQL, using the following table: Members (Id,username,posts,pass,email) (2 points)
23. Please indicate the difference between the value of the transfer and the reference in PHP. When is the value passed? (2 points)
24. What is the function of error_reporting in PHP? (1 points)
25. Please write a function to verify that the e-mail is in the correct format (2 points)
26. Describe how to get the current execution script path, including the obtained parameters. (2 points)
27. How to modify the lifetime of the session. (1 points)
--------------------------------------------------------------------
28. JS Form Popup dialog function is? Get the input focus function? (2 points)
29, JS's steering function is? How to introduce an external JS file? (2 points)
30. What is the difference between foo () and @foo ()? (1 points)
31. How do I declare a class with no methods and properties named "MyClass"? (1 points)
32. How to instantiate an object named "MyClass"? (1 points)
33. How do you access and set the properties of a class? (2 points)
34. What is the difference between mysql_fetch_row () and mysql_fetch_array? (1 points)
--------------------------------------------------------------------
35, what is the GD library for? (1 points)
36. Point out some ways to enter HTML code in PHP. (1 points)
37. Which of the following functions can open a file to read and write to a file? (1 points)
(a) Fget () (b) File_open () (c) fopen () (d) Open_file ()
38. Which of the following options does not add John to the users array? (1 points)
(a) $users [] = ' John ';
(b) Array_add ($users, ' John ');
(c) Array_push ($users, ' John ');
(d) $users | | = ' John ';
39, the following program will enter whether or not? (1 points)
$num = 10;
function Multiply () {
$num = $num * 10;
}
Multiply ();
Echo $num;
?>

Current 1/2 Page 12 next page

The above introduces the ph test paper Super comprehensive PHP surface test set 1th/2 pages, including the content of the ph test strip, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.