Bug #752: Bind on local variables
| From: | bruyno dot pennec at der dot edf dot fr | Date: | Fri, 18 Sep 1998 09:57:09 +0000 |
| Subject: | Bug #752: Bind on local variables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1215@lists.php.net to get a copy of this message | ||
From: bruyno.pennec@der.edf.fr
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@lists.php.net
For help: php-dev-help@lists.php.net