Skip to content

OOM Issue (StringHelper.php:211) on PHP 8.2 / TS 3.13 #216

@M4LuZ

Description

@M4LuZ

Hi y'all,

I'm currently working on a refresh of the integration of ts3phpframework into the LanSuite Lanparty CMS .
I'm facing an apparent regression between 1.1.35 and 1.2.1 causing an out-of-memory error ultimately thrown in StringHelper.php Line 211

Story so far

  • I've upgraded our composer dependency to ^1.2, thus ending on 1.2.1 as version used
  • Fixed some obvious issues due to changes in the meantime
  • set up a fresh TS, used pre-created account serveradmin for the query connection
  • Did a test call based on the example in README.md
  • When executing the initial object creation via $TS3PHPFramework->factory($uri); I ran into out-of-memory errors
  • To see if this is an issue already fixed I switched to dev-master (!)
  • After fixing namespacing and URI build I was able to get the example working fine. So URI, credentials and privileges appear to be OK
  • I've noticed then that dev-master is apparently outdated after renaming, on state of 1.1.35 and as far as text goes not really compatible with PHP 8.2.
  • Switching back to 1.2.1 has the issue reappearing immediately, same on dev-dev (duh!)

I saw that this issue was apparently already noticed and supposed to be fixed in #195 but somehow this appears not to be the case?
So would be greatly appreciated to get some feedback on that.

Environment

  • PHP 8.2.12
  • Teamspeak 3.13.7 Windows (x64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions