gdb --args /usr/bin/php script.php
(gdb) source ~/src/php/7.2.1/.gdbinit
(gdb) set print object on
(gdb) set print pretty on
(gdb) zbacktrace
(gdb) ptype ht.arData.key
type = struct _zend_string {
zend_refcounted_h gc;
zend_ulong h;
size_t len;
char val[1];
} *
- [en] GDB with PHP
- [en] Commands for controlled output
- [en] Debugging PHP Extensions
- [en] GDB Cheat Sheet
- [en] Debugging with GDB - Stopping and Continuing
- [en] GDB dashboard
- [en] Quick Guide to GDB
- [ru] PHP, GDB и массивы
- [en] Pensieve
- [en] Julien Pauli tech life
- [en] PHP Internals (PHP5, PHP7)
- [en] PHP Internals Book (PHP5, PHP7)
- [en] PHP7 Reference
- [en] Internal Value Representation in PHP 7 - Part 1
- [en] Internal Value Representation in PHP 7 - Part 2
- [en] PHP Internals: Getting Started
- [en] Memory management
- [en] PHP Internals Articles
- [en] PHP Wiki: Extensions