1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

Bug fixing news & test for bug #27819.

This commit is contained in:
Ilia Alshanetsky
2004-04-01 17:49:21 +00:00
parent cc5e0df571
commit bbdbfa8563
2 changed files with 23 additions and 2 deletions

6
NEWS
View File

@@ -3,8 +3,8 @@ PHP 4 NEWS
?? ??? 2004, Version 4.3.6
- Synchronized bundled GD library with GD 2.0.22. (Ilia)
- Fixed bug #27822 (is_resource() returns TRUE for closed resources). (Derick)
- Fixed bug #25547 (error_handler and array index with function call).
(cschneid at cschneid dot com)
- Fixed bug #27819 (problems returning reference to a reference parameter).
(Ilia)
- Fixed bug #27809 (ftp_systype returns null on some ftp servers). (Ilia)
- Fixed bug #27802 (default number of children to 8 when PHP_FCGI_CHILDREN is
not defined). (Ilia)
@@ -26,6 +26,8 @@ PHP 4 NEWS
- Fixed bug #27646 (Cannot serialize/unserialize non-finite numeric values).
(Marcus)
- Fixed bug #26757 (session.save_path default is bogus for win32). (Wez)
- Fixed bug #25547 (error_handler and array index with function call).
(cschneid at cschneid dot com)
26 Mar 2004, Version 4.3.5
- Fixed possible crash using an invalid color index with a palette image in

19
tests/lang/bug27819.phpt Normal file
View File

@@ -0,0 +1,19 @@
--TEST--
Bug #27819 (problems returning reference to a reference parameter)
--FILE--
<?php
function &test(&$thing)
{
$thing += 1 ;
return $thing ;
}
$a = 6 ;
echo $a . "\n" ;
$a =& test($a);
echo $a. "\n" ;
$a =& test($a);
?>
--EXPECT--
6
7