Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34482 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89866 invoked by uid 1010); 4 Jan 2008 20:00:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89828 invoked from network); 4 Jan 2008 20:00:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2008 20:00:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=robert@interjinn.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=robert@interjinn.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain interjinn.com from 66.11.173.122 cause and error) X-PHP-List-Original-Sender: robert@interjinn.com X-Host-Fingerprint: 66.11.173.122 unknown Received: from [66.11.173.122] ([66.11.173.122:58013] helo=blobule.interjinn.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/3C-63281-B609E774 for ; Fri, 04 Jan 2008 15:00:46 -0500 Received: by blobule.interjinn.com (Postfix, from userid 2000) id 52C085AD4B9; Fri, 4 Jan 2008 15:00:26 -0500 (EST) To: Stanislav Malyshev Cc: Sam Barrow , internals Mailing List In-Reply-To: <477E8EE5.9090107@zend.com> References: <477DB7BF.10201@chiaraquartet.net> <20080104105558.GC7861@mint.phcomp.co.uk> <477E5649.2080104@chiaraquartet.net> <1199466070.15292.140.camel@sbarrow-desktop> <1199466701.15292.149.camel@sbarrow-desktop> <477E7AC3.20009@zend.com> <1199472405.15292.181.camel@sbarrow-desktop> <477E822E.30108@zend.com> <1199473569.15292.195.camel@sbarrow-desktop> <477E8707.8060800@zend.com> <1199476279.6629.100.camel@blobule> <477E8EE5.9090107@zend.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: InterJinn Date: Fri, 04 Jan 2008 15:00:25 -0500 Message-ID: <1199476826.6629.107.camel@blobule> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Subject: Re: [PHP-DEV] type hinting From: robert@interjinn.com (Robert Cummings) On Fri, 2008-01-04 at 11:54 -0800, Stanislav Malyshev wrote: > > I'd prefer that than have garbage in the database. > > If your application drops dead in the middle of work because some handle > can't process the data your database probably won't be in the best shape > anyway. Yes, it drops dead, I get a phone call, it's fixed and running properly 10 minutes later. In your case it could be months before we find that there's "Array" in one of our database fields. Maybe it's not an important field or anything... like tax or something :| Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ...........................................................