我有一个巨大的项目集合,我需要在每个项目上执行一些操作,而不需要更改它们。目前我只尝试使用一个ExecutorService和一个固定大小的池,但它详细说明了一定数量的项,然后停止,代码看起来像这样: val pool = Executors.newFixedThreadPool//print somewhere the current item count }
与使用include相反,它在file...is中执行包含的php,可以将php文件的内容保存到一个变量中-但php仍然完好无损且可执行?我的目标类似于:foreach($list_of_blogs as $blog){
// somehow get blog content in template and render