svn: /pear/packages/HTML_Progress2/trunk/HTML/Progress2/Generator/ Process.php
| From: | Daniel O'Connor | Date: | Fri, 03 Sep 2010 12:17:15 +0000 |
| Subject: | svn: /pear/packages/HTML_Progress2/trunk/HTML/Progress2/Generator/ Process.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-60230@lists.php.net to get a copy of this message | ||
clockwerx Fri, 03 Sep 2010 12:17:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303020
Log:
Bug #17728 Patch: using pcre functions to avoid deprecation warnings - olleolleolle
Bug: http://pear.php.net/bugs/17728 (unknown)
Changed paths:
U pear/packages/HTML_Progress2/trunk/HTML/Progress2/Generator/Process.php
Modified: pear/packages/HTML_Progress2/trunk/HTML/Progress2/Generator/Process.php
===================================================================
--- pear/packages/HTML_Progress2/trunk/HTML/Progress2/Generator/Process.php 2010-09-03 11:32:42 UTC
(rev 303019)
+++ pear/packages/HTML_Progress2/trunk/HTML/Progress2/Generator/Process.php 2010-09-03 12:17:15 UTC
(rev 303020)
@@ -275,9 +275,9 @@
$strPHP .= "'$attr'=>'$val', ";
}
}
- $strPHP = ereg_replace(', $', '', $strPHP);
+ $strPHP = preg_replace('/, $/', '', $strPHP);
$strPHP .= '));';
return $strPHP;
}
}
-?>
\ No newline at end of file
+?>