Hi,

I'd like to know if the following piece of code is compatible with php 4.0.0
higher:

<?php

function myFunction($class) {
  [...]
}

class myClass {
  [...]
}

myFunction(new myClass);

?>

Are there any bugs known of you pass new Class directly ?

Thanks in advance,
André




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

Reply via email to