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
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function phpagi_error_handler(), 4 passed and exactly 5 expected in /var/lib/asterisk/agi-bin/phpagi.php:1759
Stack trace:
#0 /var/lib/asterisk/agi-bin/phpagi.php(196): phpagi_error_handler()
#1 /var/lib/asterisk/agi-bin/test.agi(11): AGI->__construct()
#2 {main}
thrown in /var/lib/asterisk/agi-bin/phpagi.php on line 1759
Is this library compatible with PHP 8?
The text was updated successfully, but these errors were encountered:
errcontext
If the callback accepts a fifth parameter, errcontext, it will be passed an array that points to the active symbol table at the point the error occurred. In other words, errcontext will contain an array of every variable that existed in the scope the error was triggered in. User error handlers must not modify the error context.
Warning
This parameter has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. If your function defines this parameter without a default, an error of "too few arguments" will be raised when it is called.
Hi,
Is this library compatible with PHP 8?
The text was updated successfully, but these errors were encountered: