How a PHP interpreter works

Compilation and interpretation

Zend Engine

  • lexical analysis (lexing),
  • syntax analysis (parsing),
  • compilation,
  • execution.

Lexical analysis (Lexing)

Compilation

  • assumption of value by the function
  • creation of the temporary variable
  • concatenation of the strings behind the variables
  • printing the temporary variable
  • return from the function after its completion

Execution

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Droptica

Droptica

38 Followers

Enterprise websites built with best Open Source solutions. We are an Agile software development company. We create big websites with Drupal 8, Symfony and React