PHP weirdness
01.06.06 07:50 |
Code
This doesn't work as expected:
Must investigate. Maybe try with another machine...
UPDATE:
echo "foo:bar" | php -r "print
str_replace(':','-','php://stdin');"
Must investigate. Maybe try with another machine...
UPDATE:
echo "foo:bar" | php -r "print
str_replace(':','-',trim(fgets(STDIN)));"
|