开发者

Is it possible to write a Windows console application using PHP?

I'm 开发者_开发百科going to build a big library for my PHP website.


Yes.

Simple Example :

<?php
echo $argc."\n";
print_r($argv);
?>

Result :

Is it possible to write a Windows console application using PHP?


Of course, yes, it is possible to write a windows console application using PHP. Or any other language, for that matter.

However, if you want to "build a big library", I suggest instead writing a useful set of libraries. In that case, I would consider the "windows console application" as a test runner, to execute your tests that ensure that your "big library" works as intended.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜