Skip to content

Commit

Permalink
Bug fixing news & test for bug #27819.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Apr 1, 2004
1 parent cc5e0df commit bbdbfa8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
6 changes: 4 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
19 changes: 19 additions & 0 deletions tests/lang/bug27819.phpt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bbdbfa8

Please sign in to comment.