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
Prior to PHP 8.0.0, if assertion was a string it was interpreted as PHP code and executed via eval(). This string would be passed to the callback as the third argument. This behaviour was DEPRECATED in PHP 7.2.0, and REMOVED in PHP 8.0.0.
You're absolutely right, feel free to send a pull-request to remove it for php8.0+ :)
assert() can no longer run any PHP code from PHP 8.0+
So it should no longer be a restricted function I think.
The text was updated successfully, but these errors were encountered: