The problem might be happening because of conflicting stubs in your various phar files. Try:
<?phpinclude "phar://a.phar/index.php"; // Assuming that the stub is index.phpinclude "phar://b.phar/index.php"; // Assuming that the stub is index.php//...?>