Skip to content

Commit 9091f04

Browse files
Fix unescaped quotes in the allow_named_closures refusal message
1 parent 7efd3fb commit 9091f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deepclone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4286,7 +4286,7 @@ PHP_FUNCTION(deepclone_from_array)
42864286
* is rejected wholesale rather than failing mid-hydration. */
42874287
if (!allow_named_closures
42884288
&& dc_payload_has_named_closure(zmask, zresolve, zref_masks, zstates)) {
4289-
DC_INVALID("deepclone_from_array(): resolving a closure over a named callable requires enabling the \"allow_named_closures\" option; do it only if you trust the input; alternatively, install the "deepclone" extension, which can reference callables declared in constant expressions");
4289+
DC_INVALID("deepclone_from_array(): resolving a closure over a named callable requires enabling the \"allow_named_closures\" option; do it only if you trust the input; alternatively, install the \"deepclone\" extension, which can reference callables declared in constant expressions");
42904290
}
42914291

42924292
/* ── Build objectMeta ── */

0 commit comments

Comments
 (0)