[phc-internals] [phc] r3407 committed - Add testcase for problem mentioned in issue 140.

phc at googlecode.com phc at googlecode.com
Sat Sep 3 10:12:07 IST 2011


Revision: 3407
Author:   oliver.metz at googlemail.com
Date:     Sat Sep  3 02:08:51 2011
Log:      Add testcase for problem mentioned in issue 140.
http://code.google.com/p/phc/source/detail?r=3407

Added:
  /trunk/test/subjects/phc/obfuscate_try_if.php

=======================================
--- /dev/null
+++ /trunk/test/subjects/phc/obfuscate_try_if.php	Sat Sep  3 02:08:51 2011
@@ -0,0 +1,12 @@
+<?php
+
+	// Check if correct php code is produced
+	// { phc-option: --obfuscate }
+
+	try
+	{
+		if (0) echo "test";
+	}
+	catch (Exception $e) {}
+
+?>


More information about the phc-internals mailing list