From: Christopher Jones Date: Tue, 25 Mar 2008 17:20:27 +0000 (+0000) Subject: Remove trailing period from error thus syncing with PHP 6 X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~473 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7de4793c39d4cd3705813d93f66bb64c7f32220;p=php Remove trailing period from error thus syncing with PHP 6 --- diff --git a/ext/oci8/oci8_lob.c b/ext/oci8/oci8_lob.c index 99bf7211aa..1b1aff8148 100644 --- a/ext/oci8/oci8_lob.c +++ b/ext/oci8/oci8_lob.c @@ -62,7 +62,7 @@ php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, long typ /* these three are allowed */ break; default: - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown descriptor type %ld.", type); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown descriptor type %ld", type); return NULL; break; } diff --git a/ext/oci8/tests/lob_028.phpt b/ext/oci8/tests/lob_028.phpt index f049abdba3..8ac2da3a32 100644 --- a/ext/oci8/tests/lob_028.phpt +++ b/ext/oci8/tests/lob_028.phpt @@ -70,15 +70,15 @@ object(OCI-Lob)#%d (1) { resource(%d) of type (oci8 descriptor) } -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL Done