Re: Adding "numeric" type hint

From: Date: Thu, 30 Apr 2015 04:33:56 +0000
Subject: Re: Adding "numeric" type hint
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-86062@lists.php.net to get a copy of this message
Hi Walter, On Thu, Apr 30, 2015 at 11:52 AM, Walter Parker <walterp@gmail.com> 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

« previous php.internals (#86062) next »