stdin php code example
Example 1: strcasecmp php
<?php
echo strcasecmp("Hello world!","HELLO WoRLD!");
?>
<p>If this function returns 0, the two strings are equal.</p>
Example 2: php write to standard out
fwrite(STDOUT, 'foo');
Example 3: strcmp php
strcmp("5", 5) => 0