私はSymfony
タスクphp5.2を使用しています。ここに私のコードの一部があります:
画像の配列
foreach($array as $k=>$v)
{
abc(); // function call which will cope images from one server to another
// by using file_get_content in a php variable and using api(wso).
echo memory_get_usage();
}
問題はmemory_get_usage();
常に同じ値を返しますが、トップコマンドメモリを使用しているときはノンストップで増加しています。
symfony タスクまたは php5.2 または wso にバグはありますか。