Re: type hinting
| From: | Alain Williams | Date: | Sun, 06 Jan 2008 21:47:05 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34554@lists.php.net to get a copy of this message | ||
On Sun, Jan 06, 2008 at 10:43:19PM +0100, Marcus Boerger wrote:
> Hello Johannes,
>
> then obviously pass by reference and base type hints are not compatible.
> Apart from that so far in PHP it does not matter whether a variable changes
> in base type. And we should not change this nature of PHP.
+1
--
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>