the test script error
https://github.com/getsentry/sentry-php/blob/b1d1d215c732ca5732257d6fb258eca9261b9e9e/bin/sentry#L26
it was said to support php5.3. but according to the manual
Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error.
I think this should be optimized
That piece of code is used only in tests. BTW you're welcome to open a PR to fix this, it's probably enough to replace it with a == array()!
@HakureiMarisa would you like to open a PR with your fix so we can get it merged and close this issue?
Closing this issue because it is quite old.
@HakureiMarisa I see you made a commit to fix this but never submitted the pull request if you still want to please do.
If you need help creating the pull request please see: https://help.github.com/articles/creating-a-pull-request/
Thanks!