定義 (php_swfed.h)† クラスエントリ作成 static zend_class_entry *swfeditor_ce; クラスメソッド定義 PHP_METHOD(swfed, __construct); PHP_METHOD(swfed, input); ↑ 実装 (swfed.c)† ファンクションエントリ作成 zend_function_entry swfed_functions[]= { <略> PHP_ME(swfed, __construct, NULL, 0) モジュール初期化でクラス設定 PHP_MINIT_FUNCTION(swfed) <略> zend_class_entry ce; INIT_CLASS_ENTRY(ce, "SWFEditor", swfed_functions); swfeditor_ce = zend_register_interna