From:             [EMAIL PROTECTED]
Operating system: windows 2000/sp3
PHP version:      4.3.0
PHP Bug Type:     MSSQL related
Bug description:  return values from stored procedures

Hello! 
Happy new year!

I have next MSSQL procedure:
create procedure test1
as begin

        return 12345
end

and have next test script:
<?
mssql_connect($server,$user,$password);
mssql_select_db($db);
$a=10;
$s=mssql_init("test1");
mssql_bind($s,'RETVAL',&$a,SQLINT4);
mssql_execute($s);
echo $a;
?>

in PHP-4.2.3 I got 12345 as output in $a
in PHP-4.3.0 I got 10 as output in $a

Congratulations, MSSSQL working with Stored procedures is fully broken. or
documentation missmath with 4.3.0?

Regards,
vladimir,
Novosibirsk,
Russia.

-- 
Edit bug report at http://bugs.php.net/?id=21328&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21328&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21328&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21328&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21328&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21328&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21328&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21328&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21328&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21328&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21328&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21328&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21328&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21328&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21328&r=gnused

Reply via email to