Replies: 5 comments
-
// 从全局查找 PHP 的 PDO 类
|
Beta Was this translation helpful? Give feedback.
-
get_method 方法不存在 |
Beta Was this translation helpful? Give feedback.
-
有一个思路,你可以尝试一下(我没试过): https://docs.rs/phper-sys/0.13.1/phper_sys/type.zend_class_entry.html 修改zend_class_entry.constructor.internal_function.handler |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
我写了一个,看看还有什么可以优化的use phper::classes::ClassEntry; // 保存原始的构造函数指针 // 自定义的 PDO 构造函数 #[php_get_module]
} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions