Scalar-type-hinting - which way is the best to go?

From: Date: Sat, 17 Mar 2012 13:38:26 +0000
Subject: Scalar-type-hinting - which way is the best to go?
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi, all

Today I read a post around that:
http://nikic.github.com/2012/03/06/Scalar-type-hinting-is-harder-than-you-think

As some of us are leading to the 3rd and some to the 4th or other ways
described in here (I think we can simply exclude the first one ...)
Would it be an option (to get this moved forward) to let people vote
which way they like most (or which comes closest to their
best-solution)?

I pretty much like the 3rd way ... the only thing I see that has not
been discussed enough is how to handle integers on 64bit and 32bit
installations.

Bye
Simon


Thread (13 messages)

« previous php.internals (#58984) next »