]> granicus.if.org Git - php/commitdiff
- Drop unnecessary param
authorMarcus Boerger <helly@php.net>
Mon, 7 Nov 2005 13:08:24 +0000 (13:08 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 7 Nov 2005 13:08:24 +0000 (13:08 +0000)
ext/spl/php_spl.c

index aac340082d3e162434f1e40d280ce8f02a6ca758..a8a9f0e0a3655b45f15f1cabcadc3beef9d044d9 100755 (executable)
@@ -395,7 +395,7 @@ PHP_FUNCTION(spl_autoload_register)
                                zend_str_tolower_copy(tmp_name, Z_STRVAL_P(zcallable), Z_STRLEN_P(zcallable));
                                if (!strcmp(tmp_name, "spl_autoload_call")) {
                                        if (do_throw) {
-                                               zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Function spl_autoload_call() cannot be registered", func_name);
+                                               zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Function spl_autoload_call() cannot be registered");
                                        }
                                        return;
                                }