1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Omitting is also possible here

This commit is contained in:
Marcus Boerger
2003-09-05 20:09:19 +00:00
parent f05525a0ef
commit d9d082072c
+1 -1
View File
@@ -1773,7 +1773,7 @@ PHP_FUNCTION(sqlite_fetch_object)
efree(fci.params);
}
} else if (ctor_params && Z_TYPE_P(ctor_params) != IS_NULL) {
zend_throw_exception_ex(sqlite_ce_exception, 0 TSRMLS_CC, "Class %s does not have a constructor use NULL for parameter ctor_params", class_name);
zend_throw_exception_ex(sqlite_ce_exception, 0 TSRMLS_CC, "Class %s does not have a constructor, use NULL for parameter ctor_params or omit it", class_name);
}
}
/* }}} */