diff options
| author | Thies C. Arntzen <thies@php.net> | 2001-02-14 13:06:03 +0000 |
|---|---|---|
| committer | Thies C. Arntzen <thies@php.net> | 2001-02-14 13:06:03 +0000 |
| commit | ecaeac58819255dd81104bf95037ebcb9033e261 (patch) | |
| tree | a3de0905b4ca0fa7041cdebe8445a0f17dd0a522 | |
| parent | b972771971029a485cf6a5357cf78f8a22f25ee9 (diff) | |
| download | php-git-ecaeac58819255dd81104bf95037ebcb9033e261.tar.gz | |
ocifreedesc() now spits a NOTICE when called the "wrong" way.
| -rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 3e564dc215..b8c5d5807e 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2610,7 +2610,9 @@ PHP_FUNCTION(ocifreedesc) } } - RETURN_FALSE; + php_error(E_NOTICE, "OCIFreeDesc() should not be called like this. Use $somelob->free() to free a LOB"); + + RETURN_FALSE; } /* }}} */ |
