Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

simplify the bootstrap code as the deepclone polyfill requires PHP 8.1#583

Closed
xabbuh wants to merge 1 commit intosymfony:1.xsymfony/polyfill:1.xfrom
xabbuh:deep-clone-bootstrapxabbuh/polyfill:deep-clone-bootstrapCopy head branch name to clipboard
Closed

simplify the bootstrap code as the deepclone polyfill requires PHP 8.1#583
xabbuh wants to merge 1 commit intosymfony:1.xsymfony/polyfill:1.xfrom
xabbuh:deep-clone-bootstrapxabbuh/polyfill:deep-clone-bootstrapCopy head branch name to clipboard

Conversation

@xabbuh
Copy link
Copy Markdown
Member

@xabbuh xabbuh commented Apr 24, 2026

No description provided.

define('DEEPCLONE_HYDRATE_PRESERVE_REFS', 1 << 2);
}
if (!function_exists('deepclone_hydrate')) {
function deepclone_hydrate(object|string $object_or_class, array $vars = [], int $flags = 0): object { return p\DeepClone::deepclone_hydrate($object_or_class, $vars, $flags); }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parse error on the CI, see PHP 7.2 job

@nicolas-grekas
Copy link
Copy Markdown
Member

Let me close as I think this was missing something :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.