Câu hỏi phỏng vấn PHP
Câu hỏi

What is the difference between a PHP interpreter and a PHP handler?

Câu trả lời

Here is the difference between a PHP interpreter and a PHP handler:

PHP Interpreter

  • A PHP interpreter is a program that reads and executes PHP code directly.
  • It takes PHP code as input, interprets it, and generates the output.
  • The most popular PHP interpreter is the Zend Engine, which is used in the official PHP implementation.
  • The interpreter compiles the PHP code into an internal format called opcodes, which are then executed by the engine.
  • Examples of PHP interpreters include the Zend Engine, HHVM (HipHop Virtual Machine), and Phalanger.

PHP Handler

  • A PHP handler is a module or extension that allows a web server to process PHP code.
  • It is responsible for handling incoming HTTP requests and...
middle

middle

Gợi ý câu hỏi phỏng vấn

junior

What does the 'var' keyword mean in PHP?

middle

Differentiate between parameterised and non parameterised functions

senior

What exactly are late static bindings in PHP?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào