-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mikko Koppanen wrote:
| I have not been following very closely this conversation so this might
have
| been answered already:
|
|
| $b = '5';
|
| function foo( int &$a )
| {
| echo gettype( $a );
| }
|
| foo( $b );
|
| echo gettype( $b );
|
|
| what is type of $b after the function call?
Great example that hinting is not converting!
In Sams latest patch and the version I'm voting for, there's no "after"
because this (should) throw E_RECOVERABLE_ERROR. If you ignore the
error, it's not changed.
- - Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHgTc11nS0RcInK9ARAqRuAKCk8khrBAl7cjkkopkcNUmFOYVD8ACeO8EW
lDN/nxNSxYYv732PBYKJo+Y=
=QfXc
-----END PGP SIGNATURE-----
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php