Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86062 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81393 invoked from network); 30 Apr 2015 04:34:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2015 04:34:41 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.53 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.218.53 mail-oi0-f53.google.com Received: from [209.85.218.53] ([209.85.218.53:36853] helo=mail-oi0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/91-05379-0E0B1455 for ; Thu, 30 Apr 2015 00:34:40 -0400 Received: by oift201 with SMTP id t201so39047542oif.3 for ; Wed, 29 Apr 2015 21:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=YpSjRU7KkxxtXOlQRzrgOXyvGNCYkbKJM9gEaUjOOjI=; b=PkH+F42dgcE58hwDRX+tk59Lmv+Edq0cR8DW7wz3q08vKv33mYiQMVaJ7x03guefTI uKuq6ksFDnuDE+U9z/lNoyyP8SdVi3LUBbE6PCMogzzQc5SrX8dMvOCD9cWR3H5vY/33 OFZLjLzNeeoGeuHz59RhfNB+HjWruB/cCfCDyxxwhrlRKIkBCdwr1p0jmlWiHKTvRlBV D+JjqDfJAZoz/EbQnPedjEleuzYhNejXEqOUocLMHyxvmXlzxY0d+xoH81qYNtiuBFkp r6Gr+anxY963MeQq4umXYXi6nDsiB/s7IiCuO2d1d6GRiUbdsf/FW/KPnf/0KDw1FRQg efPg== X-Received: by 10.202.194.135 with SMTP id s129mr1839452oif.39.1430368477255; Wed, 29 Apr 2015 21:34:37 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.104.196 with HTTP; Wed, 29 Apr 2015 21:33:56 -0700 (PDT) In-Reply-To: References: <55401F31.9030703@gmail.com> <55416849.9010808@gmail.com> <554176D6.2030007@gmx.de> <55418CBE.6050609@gmail.com> Date: Thu, 30 Apr 2015 13:33:56 +0900 X-Google-Sender-Auth: BMZ3xSttJNaTdaWo_flsHg5fQsE Message-ID: To: Walter Parker Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113d6c62fc1e7e0514e99c86 Subject: Re: [PHP-DEV] Adding "numeric" type hint From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113d6c62fc1e7e0514e99c86 Content-Type: text/plain; charset=UTF-8 Hi Walter, On Thu, Apr 30, 2015 at 11:52 AM, Walter Parker wrote: > Are you asking to have both the 32 and 64 bit versions of PHP fully map to > the type system in SQLite? The type system in SQLite appears to have been > setup to map to programming language that lots of types (modern C, C++, > maybe Java) rather than PHP. > > I think you might have an easier time fixing the SQLite adaptor for PHP > than making both 32 and 64 bit PHP map to the type structure for SQLite > completely transparently with full type defs. > It's not a SQLite/etc access library issue, but the user code issue. Average PHP users will use int type hint for record IDs. This results in fatal error (or exception). These code does not have to be my/your code, but other libraries written by someone else. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113d6c62fc1e7e0514e99c86--