简体   繁体   English

在哪里可以获取PHP 5.3+的Runkit DLL扩展?

[英]Where can I get runkit DLL extensions for PHP 5.3+?

That is a quick question: Where can I get PHP's runkit extension for version 5.3+? 这是一个简单的问题:在哪里可以获得5.3+版的PHP Runkit扩展? Manual for it: 手册:

http://php.net/manual/en/book.runkit.php http://php.net/manual/en/book.runkit.php

I am searching for DLL version, as I am trying to play with it on Windows. 我正在寻找DLL版本,因为我试图在Windows上使用它。 I've searched snaps.php.net, Googled it, but no luck. 我已经搜索了snaps.php.net,对其进行了Google搜索,但是没有运气。

Can you point me to the right location or upload it somewhere? 您能指出我正确的位置还是将其上传到某处?

From Runkit: Installation Runkit:安装

A DLL for this PECL extension is currently unavailable. 该PECL扩展的DLL当前不可用。 See also the building on Windows section . 另请参见Windows上构建部分

You have to compile the DLL yourself. 您必须自己编译DLL。

Also see https://hakre.wordpress.com/2010/01/12/pecl-binaries-on-windows/ 另请参阅https://hakre.wordpress.com/2010/01/12/pecl-binaries-on-windows/

Another option would be to use http://antecedent.github.io/patchwork 另一种选择是使用http://antecedent.github.io/patchwork

Patchwork is a PHP library that makes it possible to redefine user-defined functions and methods at runtime, loosely replicating the functionality runkit_function_redefine in pure PHP 5.3 code, which, among other things, enables you to replace static and private methods with test doubles. Patchwork是一个PHP库,通过它可以在运行时重新定义用户定义的函数和方法, runkit_function_redefine以纯PHP 5.3代码轻松复制功能runkit_function_redefine ,该功能runkit_function_redefine使您可以用测试双精度替换静态和私有方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM