Ignore:
Timestamp:
04/27/12 09:17:30 (12 years ago)
Author:
marcosw
Message:

Ticket #2398 - Compatibilizacao com PHP-5.3 em alguns módulos do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/PEAR/PEAR/RunTest.php

    r5146 r6057  
    320320                $section_text['INI'] = str_replace('{PWD}', dirname($file), $section_text['INI']); 
    321321            } 
    322             $ini = preg_split( "/[\n\r]+/", $section_text['INI']); 
     322            $ini = preg_split( '/[\n\r]+/', $section_text['INI']); 
    323323            $ini_settings = $this->settings2array($ini, $ini_settings); 
    324324        } 
     
    804804    { 
    805805        $headers = array(); 
    806         $rh = preg_split("/[\n\r]+/", $text); 
     806        $rh = preg_split('/[\n\r]+/', $text); 
    807807        foreach ($rh as $line) { 
    808808            if (strpos($line, ':')!== false) { 
Note: See TracChangeset for help on using the changeset viewer.