[TYPO3-core] RFC #9994: Bug: ereg_replace is deprecated in PHP 5.3 alpha3
Niels Pardon
mail at niels-pardon.de
Sun Feb 8 15:44:18 CET 2009
Hi Karsten!
I get a parse error in the extension manager with this patch:
Parse error: parse error in
C:\xampp\htdocs\seminars\typo3\mod\tools\em\class.nusoap.php on line 2031
The problem is this part:
@@ -2024,7 +2027,7 @@
function soap_transport_http($url){
parent::nusoap_base();
$this->setURL($url);
- ereg('\$Revisio' . 'n: ([^ ]+)', $this->revision, $rev);
+ preg_match('/\$Revision$this->revision, $rev);
$this->outgoing_headers['User-Agent'] =
$this->title.'/'.$this->version.' ('.$rev[1].')';
$this->debug('set User-Agent: ' . $this->outgoing_headers['User-Agent']);
}
Greets,
Niels
More information about the TYPO3-team-core
mailing list