[TYPO3-core] RFC #9994: Bug: ereg_replace is deprecated in PHP 5.3 alpha3

Niels Pardon mail at niels-pardon.de
Mon Feb 9 12:53:35 CET 2009


Karsten Dambekalns schrieb:
> Oops. Should obviously be
> 
>      function soap_transport_http($url){
>          parent::nusoap_base();
>          $this->setURL($url);
> -        ereg('\$Revisio' . 'n: ([^ ]+)', $this->revision, $rev);
> +        preg_match('/\$Revision: ([^ ]+)/', $rev);
>          $this->outgoing_headers['User-Agent'] =
> $this->title.'/'.$this->version.' ('.$rev[1].')';
>          $this->debug('set User-Agent: ' .
> $this->outgoing_headers['User-Agent']);
>      }
> 

With this fixed +1 by testing.

Greets,

Niels


More information about the TYPO3-team-core mailing list