]> granicus.if.org Git - php/commitdiff
- Fix message
authorMarcus Boerger <helly@php.net>
Mon, 4 Feb 2008 15:58:12 +0000 (15:58 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 4 Feb 2008 15:58:12 +0000 (15:58 +0000)
ext/spl/php_spl.c

index a9676ae3d11a880ffe679b5f20ff7dde9a0d63a5..cda385dc3f04ca2d48e87ca0966b962c1e3cfbb4 100755 (executable)
@@ -447,7 +447,7 @@ PHP_FUNCTION(spl_autoload_register)
                                RETURN_FALSE;
                        } else if (Z_TYPE_P(zcallable) == IS_STRING || Z_TYPE_P(zcallable) == IS_UNICODE) {
                                if (do_throw) {
-                                       zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Function '%R' not %s, (%s)", Z_TYPE_P(zcallable), Z_UNIVAL_P(zcallable), alfi.func_ptr ? "callable" : "found", error);
+                                       zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Function '%R' not %s (%s)", Z_TYPE_P(zcallable), Z_UNIVAL_P(zcallable), alfi.func_ptr ? "callable" : "found", error);
                                }
                                if (error) {
                                        efree(error);