PHP Interview topics and basic knowledge points

Source: Internet
Author: User
Tags count mysql php framework php software regular expression mysql database linux

PHP software engineer's face test

1. Basic Knowledge points

The meaning of several status codes in the HTTP protocol: 503 500 401 200 301 302 ...

Include require include_once require_once difference.

The evolutionary history of several versions of Php/mysql, such as mysql4.0 to 4.1,php 4.x to 5.1, and so on.

Heredoc Introduction

Write some PHP magic methods;

Some of the Configure parameters when compiling PHP

Two ways to pass parameters to PHP.

(MySQL) Please write out the meaning of the data type (int char varchar datetime text); What is the difference between varchar and char, please?

Error_reporting and other debugging functions using

Have you used version control software? ***** heart  mei Mo cha investigate 刂 forced Nga  take  quality??

Regular expression differences between POSIX and Perl standards;

Where the Safe_mode is restricted after opening.

Write code to solve the problem of multiple processes/threads reading and writing a file at the same time.

Write a piece of code that uploads the file.

Mysql's storage engine, MyISAM and InnoDB differences.

2. Web architecture, security, project experience

Introduce the experience of using xdebug,apc,eaccelerator,xcache,zend opt.

With Mod_rewrite, when you do not/archivers/567.html this physical file on the server, redirect to index.php?id=567, please open mod_rewrite first.

MySQL database for publishing system storage, more than 50,000 per day increment, is expected to transport three years, how to optimize?

Write a sort algorithm (principle) and say how to optimize it.

Please give a brief description of your most proud development

For large traffic sites, what methods do you use to solve the problem of page traffic statistics

Have you used a template engine? ***** Heart  Mei which 0 undercover  Xian take  quality??

Please introduce the principle of session, what should be paid attention to in the session of large Web site?

Tools for testing PHP performance and MySQL database performance, and ways to find bottlenecks.

All links in a Web page are presented.

Describes the common SSO (single sign-on) scenario, such as the DEDECMS integration of Discuz's passport.

You have written about the features of the PHP framework, primarily addressing what issues differ from other frameworks.

Large forum/News article system/sns What is the difference in performance optimization?

Photo Album applications: Requirements in the browser can be selected at the same time and upload multiple files, picture requirements can be trimmed, compressed packets in the server-side decompression. Can upload a single file of up to 50M. A progress bar is displayed during the upload process. Each picture generates four thumbnail sizes, and the video files are turned into FLV for flash playback. Describe the types of open source software and simple uses to cover.

A group of monkeys in a circle, press 1,2,...,n sequentially numbered. And then starting from the 1th number, count to M only, kick It out of the loop, start from behind it, Count to M only, kick It out ..., keep going until the last monkey is left, the monkey is called King. Requires programming to simulate this process, input m, n, output the last king's number. Simulate the process with a program.

3. Unix/linux Basic Use

Some ways to view current system load information under Linux.

The basic shortcut key for Vim.

SSH security enhancement method, password mode and RSA key mode configuration.

Rpm/apt/yum/ports Pack, query, delete the basic commands.

Makefile's basic format, gcc compilation, connecting commands,-o0 and-o3 distinctions.

The basic use of gdb,strace,valgrind.

4. Front End, Html,js

CSS box model.

The prototype in JavaScript.

The scope of this object in JavaScript.

The difference between IE and Firefox event bubbling.

What? * * * Loyalty Moxa J?, Standard mode, near-standard mode.

definition of DTD

Ie/firefox commonly used hack.

Firefox,ie the front-end Js/css debugging tools.



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.