Ticket #2202 (closed defect: duplicate)

Opened 6 weeks ago

Last modified 3 weeks ago

Change deprecated Function Split()

Reported by: WM-IT-Service Owned by: benedikt
Priority: normal Milestone: ispCP ω 1.0.5
Component: Frontend (GUI) Version: ispCP ω 1.0.3
Severity: Don't know Keywords:
Cc:

Description (last modified by nuxwin) (diff)

Function split() ist deprecated in PHP 5.3.

The Alternatives are - preg_split (for regular expressions) - explode (devide by string).

In this case: Replace split wit explode:

File: /include/phpsysinfo/common_functions.php

Row 169: $arrArgs = split( ' ', $strArgs );

replace with

Row 169: $arrArgs = explode( ' ', $strArgs );

File: /include/phpsysinfo/class.Linux.inc.php

Row116: $ar_buf = split( ' ', $buf );

replace with

Row 116: $ar_buf = explode( ' ', $buf );

Change History

Changed 6 weeks ago by benedikt

  • status changed from new to closed
  • resolution set to duplicate
  • milestone changed from Working to ispCP ω 1.0.5

duplicate of #2053

Changed 3 weeks ago by nuxwin

  • status changed from closed to reopened
  • resolution duplicate deleted

Changed 3 weeks ago by nuxwin

  • owner set to benedikt
  • status changed from reopened to new

Changed 3 weeks ago by nuxwin

  • status changed from new to closed
  • resolution set to duplicate

Changed 3 weeks ago by nuxwin

  • summary changed from Change depricated Function Split() to Change deprecated Function Split()

Changed 3 weeks ago by nuxwin

  • description modified (diff)
Note: See TracTickets for help on using tickets.