From f49b5760eb99dc180126afdcdb7c91c02787641f Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 24 Feb 2003 16:04:05 +0000 Subject: [PATCH] - Removing pointless tests. (both of these will be fixed in PHP 5) # We don't need to get any test reports about these anymore # for PHP_4_3 branch since these won't be fixed in 4.3.x. --- tests/lang/bug21600.phpt | 34 ---------------------------------- tests/lang/bug22231.phpt | 39 --------------------------------------- 2 files changed, 73 deletions(-) delete mode 100644 tests/lang/bug21600.phpt delete mode 100644 tests/lang/bug22231.phpt diff --git a/tests/lang/bug21600.phpt b/tests/lang/bug21600.phpt deleted file mode 100644 index bb8323a294..0000000000 --- a/tests/lang/bug21600.phpt +++ /dev/null @@ -1,34 +0,0 @@ ---TEST-- -Bug #21600 (assign by reference function call changes variable contents) ---FILE-- - ---EXPECT-- -array(1) { - ["foo"]=> - string(4) "test" -} -array(1) { - ["foo"]=> - string(4) "test" -} diff --git a/tests/lang/bug22231.phpt b/tests/lang/bug22231.phpt deleted file mode 100644 index 0d4d19d2e5..0000000000 --- a/tests/lang/bug22231.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Bug #22231 (segfault when returning a global variable by reference) ---FILE-- -fubar); -unset($bar); -$bar = &foo(); -var_dump($bar->fubar); - -$foo = &foo(); -var_dump($foo); -var_dump($foo->fubar); -unset($foo); -$foo = &foo(); -var_dump($foo->fubar); -?> ---EXPECT-- -object(foo)(1) { - ["fubar"]=> - string(5) "fubar" -} -string(5) "fubar" -string(5) "fubar" -object(foo)(1) { - ["fubar"]=> - string(5) "fubar" -} -string(5) "fubar" -string(5) "fubar" -- 2.40.0