On Feb 6, 2008 5:13 PM, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > Hi All, > > Just a suggestion. Maybe make your case analyzing a set of > representative php applications for calls to the various is*() methods > (maybe even factoring in assert()). This could help in showing how > often people are currently forced to write out type checks. > > My humble guess: > isset() comes out on top > followed by is_array()/is_object()/is_ressource() > and then nothing for a long time ..
is_int, ctype or brutal (int) are legions, next to my guesses list is (float) or is_numeric Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php