TOP
紅利積點抵現金,消費購書更貼心
PHP Internals: The Zend Engine and C Extensions: A Comprehensive Guide to Zend Engine, Learn C Extension Development, and Optimize Your PHP Applicatio
滿額折

PHP Internals: The Zend Engine and C Extensions: A Comprehensive Guide to Zend Engine, Learn C Extension Development, and Optimize Your PHP Applicatio

商品資訊

定價
:NT$ 672 元
無庫存,下單後進貨(到貨天數約30-45天)
下單可得紅利積點 :20 點
商品簡介

商品簡介

You'll learn

  • Understand PHP's core internals: Learn the "how" and "why" behind PHP, going beyond basic scripting.
  • Boost your skills: Gain expertise in performance optimization, advanced debugging, and the ability to contribute to the PHP core or build powerful C extensions.
  • Set up your environment: Compile PHP from source and master essential tools like GDB for internal development.
  • Explore the PHP Request Lifecycle: Discover how PHP interacts with various SAPIs (FPM, Apache, CLI) and dive into key stages like MINIT, RINIT, and RSHUTDOWN.
  • Master the Zend Engine architecture: Get an in-depth look at its components: Lexer, Parser, Compiler, Executor (Zend VM), and Memory Manager.
  • Trace code execution: Understand how PHP code is broken into tokens, transformed into an Abstract Syntax Tree (AST), compiled into Opcodes, and executed by the Zend VM.
  • Leverage OPcache: Learn how it optimizes performance by reusing opcodes.
  • Deep dive into memory management: Understand the Zend Memory Manager (ZMM), memory allocation types, and PHP's Garbage Collection (GC), including how to identify memory leaks.
  • Work with ZVALs: Master PHP's universal data container and how all data types (scalars, arrays, objects) are represented internally, including reference counting and Copy-on-Write (COW).
  • Explore core data structures: Get to grips with zend_string, HashTable (for arrays), and zend_object (for objects).
  • Develop PHP extensions in C: Learn the fundamentals, including the extension anatomy and lifecycle functions.
  • Build your first extension: Define C functions for PHP, handle argument parsing, and return values.
  • Implement advanced extension techniques: Work with arrays, define classes/objects, manage resources, and handle INI settings and exceptions.
  • Ensure thread safety: Understand TSRM and how to write robust, thread-safe extensions.
  • Interface with external C libraries: Link and integrate third-party libraries into your extensions.
  • Debug and profile extensions: Use powerful tools like GDB and Valgrind to optimize your C code.
  • Analyze the PHP Standard Library: Dissect core PHP function implementations to understand best practices.
  • Optimize extension performance: Learn strategies for writing efficient C code and understand the impact of JIT Compilation.
  • Contribute to PHP core: Discover the RFC process, coding standards, Git workflow, and how to get involved in the community.

購物須知

外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。

無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。

為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。

若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

定價:100 672
無庫存,下單後進貨
(到貨天數約30-45天)

暢銷榜

客服中心

收藏

會員專區