===============================================================
Q. HObfusをIE11で試すと、どうなるのか？

A. 2024-04-06におけるテストでは、
	=produced a blank page
	=DevTools didn't show any error messages
===============================================================
Q. なぜIdentifierは'_'で始まるのか？
	例: _dlZ4rlc03Ddf94lsR

A. _で始めないと、Reserved KeywordsとCollideする可能性があるから。
===============================================================
Q. phpで難読化されたコードをhtmlファイルにコピーして実行しようとすると、
	なぜerrorReport("Invalid script length")をtriggerするのか？

A. htmlファイルでは、コードがUTF-8で解釈されていないから、文字数が異なって
	報告されるのが理由。htmlファイルに<meta charset="utf-8">を含めれば
	問題は解決する。

--[BEFORE]----------------------------------------------------
<!doctype html><script>;Function("_MmSI9xZFdHXGh3
--------------------------------------------------------------

--[AFTER]-----------------------------------------------------
<!doctype html><meta charset="utf-8"><script>;Function("_MmSI9xZFdHXGh3
--------------------------------------------------------------

===============================================================
Q. What is the requirement for php version?

A. Tested on PHP Version 5.3.3-1ubuntu9.10
===============================================================
Q. I applied HObfus in CAction_xxxx.class.php. It did obfuscate
	the webpage however, the price remained as '%price%' Why?
---------------------------------------------------------------
	public function main() {
if(CSite::isRemote()&&!CSite::isAdmin()){exit("Unauthorized Access");}

		CApp::set("page-title","HTML Obfuscator for PHP [HObfus]");
		CApp::set("open-graph",array(
			"og:title"=>"HTML Obfuscator for PHP [HObfus]",
			"og:type"=>"website",
			"og:url"=>"http://www.phpkobo.com/html-obfuscator-for-php",
			"og:description"=>"Add Like and Dislike button to your webpage with a single line of code",
			"og:image"=>"http://www.phpkobo.com/mod/HOBFP/img/main.png",
			"og:image:type"=>"image/png",
			"og:image:width"=>"756",
			"og:image:height"=>"458",
			"og:image:alt"=>"HTML Obfuscator for PHP [HObfus]",
		));

include(dirname(__FILE__)."/--hobfus/HObfus.inc.php");
HObfus_begin();

		self::load(array(
			'btpl/CBaseTpl',
			'~/CMain',
			'btpl/CSPage',
		));
	}

HObfus_end();
---------------------------------------------------------------
A. Because the website php framework is supposed to instanciate
	'%price%' after CAction_xxxx.class.php emit the HTML code.
	If it's obfucated in CAction_xxxx.class.php, the website
	php framework can not find '%price%' and so it can't
	instanciate it.

	The solution is apply HObfus in /index.php like
---------------------------------------------------------------
include(dirname(__FILE__)."/--hobfus/HObfus.inc.php");
HObfus_begin();

//-----------------------------------------------------------------
// routing
//-----------------------------------------------------------------
if (!( $b_use_cache && CPageCache::emit( $_key ) )) {
	include( $_path_root . 'router/index.inc.php' );
}

HObfus_end();
---------------------------------------------------------------
===============================================================
