Reputation: 35374
I'm going to build a big library for my PHP website.
Upvotes: 0
Views: 1044
Reputation: 2142
Yes.
Simple Example :
<?php
echo $argc."\n";
print_r($argv);
?>
Result :
Upvotes: 1
Reputation: 11910
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.
Upvotes: 1