Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30159 invoked from network); 12 Nov 2012 14:48:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2012 14:48:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daylessday.org from 95.163.84.66 cause and error) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 95.163.84.66 mail.daylessday.org Received: from [95.163.84.66] ([95.163.84.66:41269] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/74-05794-64C01A05 for ; Mon, 12 Nov 2012 09:48:39 -0500 Received: from thinkx201.site (unknown [212.248.29.228]) by daylessday.org (Postfix) with ESMTPSA id 70985E35DD; Mon, 12 Nov 2012 18:48:35 +0400 (MSK) Message-ID: <50A10C43.2000704@daylessday.org> Date: Mon, 12 Nov 2012 18:48:35 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 MIME-Version: 1.0 To: Adam Harvey CC: internals@lists.php.net References: <50A0F797.30604@daylessday.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: tony@daylessday.org (Antony Dovgal) On 2012-11-12 18:15, Adam Harvey wrote: > I don't think the documentation is necessarily effective here, > particularly with functions that users tend to know by heart > I'm not really convinced the average user ever looks at the manual for > things they know, truth be told. Well, I'd expect people actively developing applications in PHP to use the docs from time to time. But my concern is for people using legacy apps. True, they might not use the docs at all and the only warning they'll get when they do their usual PHP upgrade is error logs stuffed full of E_DEPRECATED. So what is they going to do in that case? Disable the notice, of course. Just a random thought: is it possible to 'emulate' ext/mysql funcs using, say, ext/mysqli, similar to how ext/mhash functions are now emulated by ext/hash? -- Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP