Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44378 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81114 invoked from network); 20 Jun 2009 06:49:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2009 06:49:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.186 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.186 c2beaomr08.btconnect.com Received: from [213.123.26.186] ([213.123.26.186:3057] helo=c2beaomr08.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/03-55105-C868C3A4 for ; Sat, 20 Jun 2009 02:49:49 -0400 Received: from [10.0.0.150] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by c2beaomr08.btconnect.com (MOS 3.8.6-GA) with ESMTP id CTI13075; Sat, 20 Jun 2009 07:49:45 +0100 (BST) Message-ID: <4A3C8687.5090804@lsces.co.uk> Date: Sat, 20 Jun 2009 07:49:43 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1.21) Gecko/20090408 SeaMonkey/1.1.16 MIME-Version: 1.0 To: PHP internals References: <2F881AF5-845A-4CCD-8D9F-31D99C383C6F@pooteeweet.org> In-Reply-To: <2F881AF5-845A-4CCD-8D9F-31D99C383C6F@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=c2beaomr08.btconnect.com X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A0B0209.4A3C8689.01B0,ss=1,fgs=0, ip=10.0.0.150, so=2007-10-30 19:00:17, dmn=5.7.1/2009-06-05 X-Junkmail-IWF: false Subject: Re: [PHP-DEV] PHP 5.3.0RC4 From: lester@lsces.co.uk (Lester Caine) Lukas Kahwe Smith wrote: > Some additional links to get started: > http://cvs.php.net/viewvc.cgi/php-src/NEWS?view=markup&pathrev=PHP_5_3 > http://cvs.php.net/viewvc.cgi/php-src/UPGRADING?revision=PHP_5_3 While I know that ... - All ereg functions are deprecated and emit E_DEPRECATED errors. Use PCRE (preg_*()) instead. ... is accurate, I think a little more detail would help here, since many of us probably did not know that 'split' was an ereg function - for instance? I THINK that split() maps to explode() without needing any mapping of the parameters? But ereg_replace to preg_replace is not quite so easy? and when looking to convert someone else's legacy code, trying to understand some mappings can be a problem. Does anybody have a useful reference that would help in converting from one to the other? Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php