diff --git a/hphp/test/quick/autoload5.php b/hphp/test/quick/autoload4.inc similarity index 100% rename from hphp/test/quick/autoload5.php rename to hphp/test/quick/autoload4.inc diff --git a/hphp/test/quick/autoload4.php b/hphp/test/quick/autoload4.php index b99bc6105..de2b25e99 100644 --- a/hphp/test/quick/autoload4.php +++ b/hphp/test/quick/autoload4.php @@ -6,6 +6,6 @@ function __autoload($cls) { echo "__autoload $cls\n"; } -require "autoload5.php"; +require "autoload4.inc"; print "Test end\n"; diff --git a/hphp/test/quick/backup_cycle_collector.php b/hphp/test/quick/backup_cycle_collector.php deleted file mode 100644 index 5abd6df0b..000000000 --- a/hphp/test/quick/backup_cycle_collector.php +++ /dev/null @@ -1,94 +0,0 @@ - x - $y = new Cycler(); - $y->y = "this is a string"; - $y->x = new Cycler(); - $y->x->x = $y; - - /* - * y2 ---> y3 -----> array(Cycler()) - * ^ | - * | | - * +-- y4 <-+ - */ - $y2 = new Cycler(); - $y3 = new Cycler(); - $y4 = new Cycler(); - $y2->x = $y3; - $y3->x = $y4; - $y4->x = $y2; - $y3->y = array(new Cycler()); -} - -decl_prop_cycle(); -test_cycles("decl"); -var_dump($x->x); - -function dyn_prop_cycle() { - $y = new Cycler(); - $y->d_y = "this is a string"; - $y->d_x = new Cycler(); - $y->d_x->d_x = $y; - - // Same graph as decl_prop_cycle, but will have the dynprop array in - // between everything. - $y2 = new Cycler(); - $y3 = new Cycler(); - $y4 = new Cycler(); - $y2->d_x = $y3; - $y3->d_x = $y4; - $y4->d_x = $y2; - $y3->d_y = array(new Cycler()); -} - -dyn_prop_cycle(); -test_cycles("dyn"); -var_dump($x->x); - -function array_cycle() { - /* - * array() ------------------> $x - * ^ | - * | | - * | v - * array() ---> array() ---> RefData - * ^ | - * | | - * +--------------------------+ - */ - $y = array(); - $x = new Cycler(); - $x->x =& $y; - $y["one"]["bar"] = $x; - $y["two"]["bar"] =& $y; - $y["three"] = "string data"; -} - -array_cycle(); -test_cycles("array"); -var_dump($x->x); diff --git a/hphp/test/quick/condinfinite.php b/hphp/test/quick/condinfinite.php deleted file mode 100644 index 094eca817..000000000 --- a/hphp/test/quick/condinfinite.php +++ /dev/null @@ -1,16 +0,0 @@ -a = 20; $this->c = 200;'); - include 'include3_a.php'; + include 'include3.inc'; echo $this->a."\n"; echo $this->b."\n"; echo $this->c."\n"; diff --git a/hphp/test/quick/include_backtrace2.php b/hphp/test/quick/include_backtrace.inc similarity index 100% rename from hphp/test/quick/include_backtrace2.php rename to hphp/test/quick/include_backtrace.inc diff --git a/hphp/test/quick/include_backtrace.php b/hphp/test/quick/include_backtrace.php index 4267ea776..7d5fe5dc0 100644 --- a/hphp/test/quick/include_backtrace.php +++ b/hphp/test/quick/include_backtrace.php @@ -1 +1 @@ - diff --git a/hphp/test/quick/redeclared_class1.php b/hphp/test/quick/redeclared_class.1.inc similarity index 100% rename from hphp/test/quick/redeclared_class1.php rename to hphp/test/quick/redeclared_class.1.inc diff --git a/hphp/test/quick/redeclared_class2.php b/hphp/test/quick/redeclared_class.2.inc similarity index 100% rename from hphp/test/quick/redeclared_class2.php rename to hphp/test/quick/redeclared_class.2.inc diff --git a/hphp/test/quick/redeclared_class_a.php b/hphp/test/quick/redeclared_class_a.php index 854296867..d856a791c 100644 --- a/hphp/test/quick/redeclared_class_a.php +++ b/hphp/test/quick/redeclared_class_a.php @@ -1,6 +1,6 @@