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

梦想与她 提交于 2019-12-11 03:17:22

问题


That is a quick question: Where can I get PHP's runkit extension for version 5.3+? Manual for it:

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

I am searching for DLL version, as I am trying to play with it on Windows. I've searched snaps.php.net, Googled it, but no luck.

Can you point me to the right location or upload it somewhere?


回答1:


From Runkit: Installation

A DLL for this PECL extension is currently unavailable. See also the building on Windows section.

You have to compile the DLL yourself.

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

Another option would be to use 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.



来源:https://stackoverflow.com/questions/4667333/where-can-i-get-runkit-dll-extensions-for-php-5-3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!