Why I cannot get the return value of require_once function in PHP?
This indicated that the file has already been included at that point.
require_once will return boolean true if the file has already been included.
To check you can change to simply require:
$ret = require $this->app->config('eshopBaseDir')."fax/archive.php";print_r($ret);
As a simple proof:
//test.phpreturn array('this'=>'works the first time');//index.php$ret = require_once 'test.php';var_dump($ret);//array$ret2 = require_once 'test.php';var_dump($ret2);//bool true