Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FirePHP in PHP 7.4+: getting Array and string offset access syntax with curly braces is deprecated error #131

Open
herbdool opened this issue Dec 20, 2021 · 4 comments

Comments

@herbdool
Copy link
Contributor

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/modules/contrib/devel/lib/firephp/FirePHP.class.php

I'm guessing it's this library: https://github.com/firephp/firephp-core

@jenlampton
Copy link
Member

We should probably update that library. I'd love some help with this one.

@indigoxela
Copy link
Member

It looks like the library is already up-to-date. The problem has to get fixed upstream.

Their issue re curly braces: firephp/firephp-core#67

They have other PHP 8.+ related issues, too.

@herbdool
Copy link
Contributor Author

That library hasn't been touched in 3 years. Maybe it's time to just fork it for this project.

@klonos
Copy link
Member

klonos commented Nov 25, 2023

There's a single use of assert_options() in FirePHP::registerAssertionHandler() in FirePHP.class.php, and that function has been deprecated in php8.3. See https://www.php.net/manual/en/function.assert-options.php and related D10.2 change record.

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

No branches or pull requests

4 participants