2007-04-03から1日間の記事一覧
木曜日(現地時間)に最初のRCが出てくるみたいです。 5.2.2 release cycle is about to begin, with a first RC planned for this Thursday.If you have any major patches left over, please commit them as they will no longer be accepted for 5.2.2.
例外を登録するzend_register_internal_class_ex関数の定義は ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name TSRMLS_DC); となっていて、親クラスを指定する…
PHP5から例外が使えますが、「例外を投げるモジュール」のCソースはどうなってるのか、ちょっと調べてみました。 結論を先に言うと、以下の2つを書くことになるようです。 例外クラス用ポインタの定義(zend_class_entry型のポインタ) PHP_MINIT_FUNCTION(…