Re: Re: Type hinting/casting request for vote

From: Date: Tue, 07 Jul 2009 14:15:54 +0000
Subject: Re: Re: Type hinting/casting request for vote
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-44759@lists.php.net to get a copy of this message
+1 if the object type hint is change to use T_CLASS so we don't break every external package using "Object" as a base class. http://www.google.com/codesearch?as_q=class\s%2Bobject&btnG=Search+Code&hl=en&as_lang=php&as_license_restrict=i&as_license=&as_package=&as_filename=&as_case= Greg
Or this can wait until 6.0, when (as I hear) we'll have case-sensitive class names, so Object/object, Int/int won't cause collisions. I'm really puzzled why a non-essential, and for the past months (years?) controversial and always rejected feature such as strict type hints, has everyone turning 180 degrees and putting it in a minor release in the course of a week. Regards, Stan Vassilev

« previous php.internals (#44759) next »