Collect a copy of a PHP senior engineer's pen test

Source: Internet
Author: User
Tags php framework

Compiled a PHP senior engineer's pen questions, the problem is very comprehensive. Well, basically the answers are good, so you should be able to do most of the internet company's PHP jobs. The following question directly.

1. Basic Knowledge points
    1. The meaning of several status codes in the HTTP protocol: 503,500,401,200,301,302 ...
    2. The difference between include,require,include_once,require_once.
    3. The evolutionary history of several versions of Php/mysql, such as the significant improvements in mysql4.0 to 4.1,php 4.x to 5.1, etc.
    4. Heredoc Introduction.
    5. Write some PHP magic methods.
    6. Some of the Configure parameters when compiling PHP.
    7. Two methods of passing parameters to PHP.
    8. (MySQL) Please write the meaning of the data type (int char varchar datetime text); What is the difference between varchar and char, please?
    9. Error_reporting and other debugging functions are used.
    10. Have you ever used version control software? If you have the name of the version control software you are using?
    11. The POSIX and Perl standard regular expressions differ.
    12. Where Safe_mode is restricted after opening.
    13. Write code to solve the problem of multiple processes/threads reading and writing a file at the same time.
    14. Write the code that uploads the file.
    15. The difference between Mysql's storage engine, MyISAM and InnoDB.
2. Web architecture, security, project experience
    1. Introduce the experience of using xdebug,apc,eaccelerator,xcache,zend opt.
    2. With Mod_rewrite, when the physical file is not/archivers/567.html on the server, redirect to index.php?id=567, please open mod_rewrite first.
    3. MySQL database for publishing system storage, a day more than 50,000 increments, the expected operation of three years, how to optimize?
    4. Write a sort algorithm (principle) and say how to optimize it.
    5. Please briefly describe your most proud development.
    6. For large traffic sites, what kind of method do you use to solve the statistic problem of each page access quantity?
    7. Have you ever used a template engine? If you have the name of the template engine you are using?
    8. Please introduce the principle of the session, the large site of the session should pay attention to what?
    9. Tools for testing PHP performance and MySQL database performance, and ways to find bottlenecks.
    10. The regular presents all the links in a Web page.
    11. Introduce the principle of a common SSO (single Sign-on) scenario, such as DEDECMS integrated Discuz Passport.
    12. The characteristics of the PHP framework that you have written, the main solution to what the problem, and the different points of the other frameworks.
    13. Large forum/News article system/sns What is the difference in performance optimization?
    14. Album Class application: Require in the browser can also select and upload multiple files, picture requirements can be clipped, compressed package on the server side decompression. Can upload a single file up to 50M. A progress bar is displayed during the upload process. Each image can generate four sizes of thumbnails, video files to be converted to FLV for flash playback. Describe the various types of open source software and simple uses to be covered.
    15. A group of monkeys in a circle, according to 1,2,...,n sequentially numbered. Then, starting from the 1th, Count to M., Kick It Out of the loop, start counting from behind it, Count to M., and Kick It out ... and so on, until the last monkey is left, the monkey is called the King. Requires programming to simulate this process, enter M, N, and output the number of the last king. Simulate the process with a program.
3. Unix/linux Basic Use
    1. Some ways to view current system load information under Linux.
    2. Basic shortcut keys for VIM.
    3. SSH security enhancement method, password mode and RSA key mode configuration. Jakarta Casino
    4. Rpm/apt/yum/ports Pack, query, delete the basic commands.
    5. Makefile's basic format, GCC compilation, connection commands,-o0 and-o3 differences.
    6. Basic use of gdb,strace,valgrind.
4. Front end, Html,js
    1. CSS box model.
    2. The prototype in JavaScript.
    3. The scope of this object in JavaScript.
    4. The difference between IE and Firefox event bubbling.
    5. What is weird mode, Standard mode, near Standard mode.
    6. Definition of DTD
    7. Ie/firefox commonly used hack.
    8. The front-end js/css debugging tool under Firefox,ie.

Collect a copy of a PHP senior engineer's pen test

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.