Changeset 6057 for trunk/library
- Timestamp:
- 04/27/12 09:17:30 (12 years ago)
- Location:
- trunk/library
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/PEAR/PEAR/RunTest.php
r5146 r6057 320 320 $section_text['INI'] = str_replace('{PWD}', dirname($file), $section_text['INI']); 321 321 } 322 $ini = preg_split( "/[\n\r]+/", $section_text['INI']);322 $ini = preg_split( '/[\n\r]+/', $section_text['INI']); 323 323 $ini_settings = $this->settings2array($ini, $ini_settings); 324 324 } … … 804 804 { 805 805 $headers = array(); 806 $rh = preg_split( "/[\n\r]+/", $text);806 $rh = preg_split('/[\n\r]+/', $text); 807 807 foreach ($rh as $line) { 808 808 if (strpos($line, ':')!== false) { -
trunk/library/mime/mimeDecode.php
r4414 r6057 665 665 $boundary = $bs_possible; 666 666 } 667 $tmp = preg_split( "/--".preg_quote($boundary, '/')."((?=\s)|--)/", $input);667 $tmp = preg_split('/\/--/'.preg_quote($boundary, '/')."((?=\s)|--)/", $input); 668 668 669 669 $len = count($tmp) -1; … … 799 799 800 800 $file = ''; 801 $str = preg_split( "/\r?\n/", trim($str));801 $str = preg_split('/\r?\n/', trim($str)); 802 802 $strlen = count($str); 803 803 -
trunk/library/mime/mimePart.php
r5135 r6057 570 570 } 571 571 */ 572 $lines = preg_split( "/\r?\n/", $input);572 $lines = preg_split('/\r?\n/', $input); 573 573 $escape = '='; 574 574 $output = '';
Note: See TracChangeset
for help on using the changeset viewer.