search
HomeBackend DevelopmentPHP Tutorial【面试经验/原】第一回面试PHP开发工程师的经历

【面试经验/原】第一次面试PHP开发工程师的经历

?

其实,我很唐突。这我知道,也许我是故意的。恩,先说下我的情况吧,希望给网友分享下。

本人,在校大四学生,本科自动化专业。自学WEB开发技术3年,有开发经历,但是基础较弱。就这样,在我2年前建立的扣扣群中找到了一条招聘消息。我去了面试。

我没有任何经验,但丝毫没有觉得紧张,尽管我知道能力和经验不足。很惭愧的说,我是在评估我的价值。但是并不顺利。

面试官问的问题,我都可以说。但是,一半的问题却回答不到点子上,确切的说是,我不会。很糟糕吧,这么基本的问题,我却答不出来。所以,出门的时候,我有些失落。但是,我觉得我可以继续走这条路,达到我理想的程度。因为,面试官仅仅是问我理论的问题。我有很多的实战经历,我也体验过问题中的情况。但是,我却没有了解过理论上,这有些什么好处。所以,我相信可以很快的解决这个面试瓶颈。下面,我罗列下面试的问题吧,尽管喷我哦!

1、PHP开发中你觉得最难的是什么?

想了一处,完全不知道他要问什么,最后根据提示弱弱了回答了这个问题。其实,后来想想,无非就是说说OO思想、MVC等问题,再往深了就说说大并发应用的优化问题、或者数据库设计和优化问题而已。

2、PHP中的多重继承怎么写?

回答:“Class A extends B"。问:”多重继承?“。答:”用逗号分隔“。后来才知道这个问题,真是恼火,PHP是不可以多重继承的,需要用继承多个接口来实现,这就是PHP和Java的差别。

3、PHP的多进程用过么?

回答:“没用过,Java用过”。(囧)

4、Mysql的存储引擎有哪些?

InnoDB、MyISAM、MEMORY、Merge

5、索引了解过么?(最近正补习MySQL的索引优化问题)

答:“不多”

6、Apache会配置么?转发如何配置,SSL呢?(完全没有深入学习过)

没有回答,转发配置过,但并不熟悉。SSL不懂。

?

文章来源:?胡旭个人博客??》?【面试经验】第一次面试PHP开发工程师的经历

微信公众平台: ihuxublog

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How do you modify data stored in a PHP session?How do you modify data stored in a PHP session?Apr 27, 2025 am 12:23 AM

TomodifydatainaPHPsession,startthesessionwithsession_start(),thenuse$_SESSIONtoset,modify,orremovevariables.1)Startthesession.2)Setormodifysessionvariablesusing$_SESSION.3)Removevariableswithunset().4)Clearallvariableswithsession_unset().5)Destroythe

Give an example of storing an array in a PHP session.Give an example of storing an array in a PHP session.Apr 27, 2025 am 12:20 AM

Arrays can be stored in PHP sessions. 1. Start the session and use session_start(). 2. Create an array and store it in $_SESSION. 3. Retrieve the array through $_SESSION. 4. Optimize session data to improve performance.

How does garbage collection work for PHP sessions?How does garbage collection work for PHP sessions?Apr 27, 2025 am 12:19 AM

PHP session garbage collection is triggered through a probability mechanism to clean up expired session data. 1) Set the trigger probability and session life cycle in the configuration file; 2) You can use cron tasks to optimize high-load applications; 3) You need to balance the garbage collection frequency and performance to avoid data loss.

How can you trace session activity in PHP?How can you trace session activity in PHP?Apr 27, 2025 am 12:10 AM

Tracking user session activities in PHP is implemented through session management. 1) Use session_start() to start the session. 2) Store and access data through the $_SESSION array. 3) Call session_destroy() to end the session. Session tracking is used for user behavior analysis, security monitoring, and performance optimization.

How can you use a database to store PHP session data?How can you use a database to store PHP session data?Apr 27, 2025 am 12:02 AM

Using databases to store PHP session data can improve performance and scalability. 1) Configure MySQL to store session data: Set up the session processor in php.ini or PHP code. 2) Implement custom session processor: define open, close, read, write and other functions to interact with the database. 3) Optimization and best practices: Use indexing, caching, data compression and distributed storage to improve performance.

Explain the concept of a PHP session in simple terms.Explain the concept of a PHP session in simple terms.Apr 26, 2025 am 12:09 AM

PHPsessionstrackuserdataacrossmultiplepagerequestsusingauniqueIDstoredinacookie.Here'showtomanagethemeffectively:1)Startasessionwithsession_start()andstoredatain$_SESSION.2)RegeneratethesessionIDafterloginwithsession_regenerate_id(true)topreventsessi

How do you loop through all the values stored in a PHP session?How do you loop through all the values stored in a PHP session?Apr 26, 2025 am 12:06 AM

In PHP, iterating through session data can be achieved through the following steps: 1. Start the session using session_start(). 2. Iterate through foreach loop through all key-value pairs in the $_SESSION array. 3. When processing complex data structures, use is_array() or is_object() functions and use print_r() to output detailed information. 4. When optimizing traversal, paging can be used to avoid processing large amounts of data at one time. This will help you manage and use PHP session data more efficiently in your actual project.

Explain how to use sessions for user authentication.Explain how to use sessions for user authentication.Apr 26, 2025 am 12:04 AM

The session realizes user authentication through the server-side state management mechanism. 1) Session creation and generation of unique IDs, 2) IDs are passed through cookies, 3) Server stores and accesses session data through IDs, 4) User authentication and status management are realized, improving application security and user experience.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.