Ignore:
Timestamp:
Jul 27, 2009, 3:26:42 AM (12 years ago)
Author:
gilles.vincent@…
Message:

[30252] suite : split est deprecie en 5.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/simpletest/simpletest/web_tester.php

    r24737 r30253  
    191191     */
    192192    function _findHeader($compare) {
    193         $lines = split("\r\n", $compare);
     193        $lines = preg_split(",\r\n,", $compare);
    194194        foreach ($lines as $line) {
    195195            if ($this->_testHeaderLine($line)) {
     
    207207     */
    208208    function _testHeaderLine($line) {
    209         if (count($parsed = split(':', $line, 2)) < 2) {
     209        if (count($parsed = explode(':', $line, 2)) < 2) {
    210210            return false;
    211211        }
Note: See TracChangeset for help on using the changeset viewer.