On Sat, May 03, 2008 at 02:04:35AM +0100, Richard Quadling wrote:
> 2008/5/3 Stanislav Malyshev <[EMAIL PROTECTED]>:
> Is it not possible to overload operators?
> 
> Though this would probably even more work to do.

Overloading of operators implies strong typing, eg overload + for type money to 
be
money::plus()

Would this fit well with the PHP type juggling.

Why not use the BC Math Functions ?

-- 
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>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to