Date: 09/18/98
- Next message: mike <email protected>: "[PHP-DEV] Bug #754: feature req for functions/post.c"
- Previous message: bruyno.pennec <email protected>: "[PHP-DEV] Bug #752: Bind on local variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: bruno.pennec <email protected>
Operating system: solaris 2.5
PHP version: 3.0.3
PHP Bug Type: Oracle related
Bug description:
When local variables are used to bind into PL/SQL variables,
ora_bind accept, but when ora_exec try to copy the results
into PHP variables, it fails.
exemple :
$c is a valid Oracle cursor;
test1 is Oracle function which
function test () {
global $c;
$z = 4;
ora_parse($c,"begin :z := 3; end;");
ora_bind($c,"z",":z",80,2);
ora_exec($c);
return $z;
}
echo test();
result :
4
}
echo "11.2 => y=".test2()."<br>\n";
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: mike <email protected>: "[PHP-DEV] Bug #754: feature req for functions/post.c"
- Previous message: bruyno.pennec <email protected>: "[PHP-DEV] Bug #752: Bind on local variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

