ID: 32741
Updated by: tony2001@php.net
Reported By: fsurleau at skyservices dot net
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: linux
PHP Version: 4.3.11
New Comment:
Are there any entries in the error_log ?
If so, use gdb to generate a backtrace.
Previous Comments:
------------------------------------------------------------------------
[2005-04-19 14:29:42] fsurleau at skyservices dot net
No result means I have nothing because as I explained, the httpd
process hang (stop).
------------------------------------------------------------------------
[2005-04-19 14:25:08] tony2001@php.net
What does it mean "no result"? Segfault? FALSE? Empty string? Zero?
There is _always_ a result, whatever you do.
------------------------------------------------------------------------
[2005-04-18 13:22:43] fsurleau at skyservices dot net
Sorry (again, see bug #32722), I can't use PHP5.
------------------------------------------------------------------------
[2005-04-18 13:16:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-04-18 13:13:49] fsurleau at skyservices dot net
Reproduce Code is :
$cnx = ociplogon( USER_INTER, PASS_INTER, BD_INTER );
$sql = "BEGIN\nTEST.TEST_COLLECTION( :outparam );\nEND;";
$stmt = ociparse( $cnx, $sql );
$outparam = ocinewcollection( $cnx, "COLLECTION_TYPE" );
ocibindbyname( $stmt, ":outparam", &$outparam, -1, OCI_B_SQLT_NTY );
ociexecute( $stmt );
for( $i = 0; $i < $outparam->size(); $i++ )
{
echo( "outparam[$i] = '" . $outparam->getelem( $i ) .
"'<br>\n" );
}
$sql = "BEGIN\nTEST.TEST_VARCHAR( :outvarchar );\nEND;";
$stmt = ociparse( $cnx, $sql );
$outvarchar = '';
ocibindbyname( $stmt, ":outvarchar", &$outvarchar, 300 );
ociexecute( $stmt );
echo( "outvarchar = '" . $outvarchar . "'<br>\n" );
It was cut at first post...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32741
--
Edit this bug report at http://bugs.php.net/?id=32741&edit=1