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:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user