Opened 2 years ago

Last modified 2 years ago

#16903 new enhancement

PHP5-Port - Superfluous code in _deep_replace()

Reported by: hakre Owned by:
Priority: normal Milestone: Awaiting Review
Component: General Version:
Severity: normal Keywords: has-patch
Cc:

Description

Since PHP 5.0.0 the count parameter was added, see str_replace.

(in earlier PHP 4.x versions, arrays were already supported)

Attachments (1)

16903.patch (1.2 KB) - added by hakre 2 years ago.
$count FTW

Download all attachments as: .zip

Change History (3)

hakre2 years ago

$count FTW

  • Keywords has-patch added
  • Type changed from defect to enhancement

Patch contains the short version of that function. Tested.

Related: #16906

Note: See TracTickets for help on using tickets.