You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -840,17 +845,23 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
840
845
if (*pmode=='t') {
841
846
pmode++;
842
847
if (!lock_flag) {
843
-
php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "You cannot combine modifiers - (no lock) and t (test lock)");
848
+
php_error_docref(NULL, E_WARNING,
849
+
"Cannot combine modifiers - (no lock) and t (test lock) for path \"%s\" with mode %s",
850
+
Z_STRVAL(args[0]), Z_STRVAL(args[1]));
844
851
FREENOW;
845
852
RETURN_FALSE;
846
853
}
847
854
if (!lock_mode) {
848
855
if ((hptr->flags&DBA_LOCK_ALL) ==0) {
849
-
php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Handler %s uses its own locking which doesn't support mode modifier t (test lock)", hptr->name);
856
+
php_error_docref(NULL, E_WARNING,
857
+
"Handler %s uses its own locking which doesn't support mode modifier t (test lock) for path \"%s\" with mode %s",
php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Handler %s doesn't uses locking for this mode which makes modifier t (test lock) obsolete", hptr->name);
862
+
php_error_docref(NULL, E_WARNING,
863
+
"Handler %s doesn't uses locking for this mode which makes modifier t (test lock) obsolete for path \"%s\" with mode %s",
0 commit comments