Re: [PHP] PHP 5 && OO && performance && exceptions

2005-11-11 Thread Jochem Maas
sed on type, i guess this can be accomplished using overloading. Am I making any sense? - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, November 10, 2005 6:47 PM Subject: Re: [PHP] PHP 5 && OO && performance && exceptions I was not

Re: [PHP] PHP 5 && OO && performance && exceptions

2005-11-11 Thread cron
- From: <[EMAIL PROTECTED]> To: Sent: Thursday, November 10, 2005 6:47 PM Subject: Re: [PHP] PHP 5 && OO && performance && exceptions > I was not considering that, I was using $obj_string->getValue(), the > __toString method and type casting could save me

Re: [PHP] PHP 5 && OO && performance && exceptions

2005-11-10 Thread cron
PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 09, 2005 1:37 PM Subject: Re: [PHP] PHP 5 && OO && performance && exceptions I myself was considering creating classes such as String, but I ran into more basic problems before performance, fo

[PHP] PHP 5 && OO && performance && exceptions

2005-11-09 Thread cron
Hello, Currently I'm make some utilities classes and I took the idea from java to make some wrappers class like String, Integer and so on. This allows me to use the type hint for basic types in php. Anyone have a clue if replacing the all in one type in php for objects types will degrade t