pparkins2011-08-15 12:34:29how to read from standard input in php? In task, sum of two numbers, how to read numbers M and N from standard input?
gg0loob2012-01-20 10:00:13<?php $f = fopen("php://stdin","r"); $a = fscanf($f,"%d %d"); echo $a[0] + $a[1];?>