Skip to content

Replaces create_function with regular function#64

Open
pschoffer wants to merge 2 commits intotollmanz:masterfrom
pschoffer:Remove_create_function
Open

Replaces create_function with regular function#64
pschoffer wants to merge 2 commits intotollmanz:masterfrom
pschoffer:Remove_create_function

Conversation

@pschoffer
Copy link

create_function is deprecated on php >7.2.

I replaced it with a regular function while breaking down the string to a more digestible format.

I tried the anonymous function first but those can be not supported on lower php versions so I used to regular function to be on the safer side.

Any feedback is welcome

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.

1 participant