Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44379 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15464 invoked from network); 20 Jun 2009 14:18:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2009 14:18:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.214 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.219.214 mail-ew0-f214.google.com Received: from [209.85.219.214] ([209.85.219.214:39986] helo=mail-ew0-f214.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/D1-02054-DBFEC3A4 for ; Sat, 20 Jun 2009 10:18:38 -0400 Received: by ewy10 with SMTP id 10so3189862ewy.23 for ; Sat, 20 Jun 2009 07:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=uX1Z7/J/NrxL8nz2dpNo7IF4e9eV0DKd7PJ6YRBF6hY=; b=JcAGfz4jjth3QtuGPzA8zKR6doQupRD54YTJIYp8kUb1tvywmMSrvphST/hrd/iky9 aItmZHvb/9fLTevULXXDJXxiGjVcpajnmJiG8W4+PIKOY5HS8ykFEyA386/iwVU2EXAF xxc7DfvGgXEN87cyzOuY1LuLUGsEPNcdPMKKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=f1u2xBcGCY4EwQM3P8soE7v2GIjLuiK8LqYV7ayZ2IZC+q6Q+LtxJ1I8Di8AuN7qPK msaep06YFYPE0eU4EED1J9zBUOksApUZ8i7PwkRs64ElvicNglrDincrcV5sHnct4JL9 QGoZ8mmvyunQavjvpTIsjSQk0CVK109ViO/mk= Received: by 10.210.86.1 with SMTP id j1mr4634438ebb.29.1245507514609; Sat, 20 Jun 2009 07:18:34 -0700 (PDT) Received: from ?192.168.1.25? (32.Red-83-51-56.dynamicIP.rima-tde.net [83.51.56.32]) by mx.google.com with ESMTPS id 5sm2277250eyf.38.2009.06.20.07.18.32 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 07:18:33 -0700 (PDT) Message-ID: <4A3CEFB7.7090001@gmail.com> Date: Sat, 20 Jun 2009 16:18:31 +0200 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Lester Caine , internals@lists.php.net References: <2F881AF5-845A-4CCD-8D9F-31D99C383C6F@pooteeweet.org> <4A3C8687.5090804@lsces.co.uk> In-Reply-To: <4A3C8687.5090804@lsces.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.3.0RC4 From: keisial@gmail.com (Keisial) Lester Caine wrote: > 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? split() splits a string using a regular expression. explode() splits using a fixed string. While it's likely many people is using split() for cases where explode() should be used*, usages really using regex can't be replaced by explode() (preg_split() is the equivalent function... with the other regexes) *Including one in the split manual page.