Curses for PHP on Windows

Is there a Windows equivalent of ncurses for PHP?

I've created a CLI script and want to display various statistics (currently processed record, completion percentage etc.) in a nice way, without outputting loads and heaps of text to the cmd.exe window.

The ncurses extension doesn't work on Windows.


ncurses only works for unix-like environments so you can use cygwin but [Link outdated] looks promising. Check it out and let me know!

(Edit Apr 2016: removed the link as it's out of date and clicking on it takes you down a nasty path.)


There is pdcurses which I believe works in a windows console window. The aren't any PHP bindings so you would need to build your own.

链接地址: http://www.djcxy.com/p/960.html

上一篇: CSG在带有行军立方体的隐式曲面上的操作

下一篇: 在Windows上用于PHP的诅咒