]> granicus.if.org Git - php/commitdiff
Revert fix for bug #22836
authorIlia Alshanetsky <iliaa@php.net>
Wed, 30 Jul 2003 16:12:32 +0000 (16:12 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 30 Jul 2003 16:12:32 +0000 (16:12 +0000)
NEWS
tests/lang/bug22836.phpt [deleted file]

diff --git a/NEWS b/NEWS
index d6ec46cc4f1a97c2a8ae7dcad928682b20920b93..25f9dcc4274eb48c414ada346e64c99a79fec3d0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -59,7 +59,6 @@ PHP 4                                                                      NEWS
 - Fixed bug #23664 (FastCGI socket listenting). (Shane)
 - Fixed bug #23685 (fake values returned when OID value is an empty string).
   (Jani)
-- Fixed bug #22836 (memory corruption with references to NULL). (Ilia)
 - Fixed bug #22690 (ob_start() did not work with create_function() callbacks).
   (Marcus)
 - Fixed bug #21855 (Threading issue on HP-UX). (Roshan Naik, Andi, Moriyoshi)
diff --git a/tests/lang/bug22836.phpt b/tests/lang/bug22836.phpt
deleted file mode 100644 (file)
index 2fe95cd..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---TEST--
-Bug #22836 (returning references to NULL)
---FILE--
-<?php
-function &f()
-{
-       $x = "foo";
-        var_dump($x);
-        print "'$x'\n";
-        return ($a);
-}
-for ($i = 0; $i < 8; $i++) {
-       $h =& f();
-}
-?>
---EXPECTF--
-string(3) "foo"
-'foo'
-
-Notice: Undefined variable:  a in %s on line %d
-
-Fatal error: Cannot return NULL by reference in %s on line %d