Dunque, il punto in cui lo script si blocca è quando chiamo una classe in questo modo

codice:
var = miaclasse::funzione( param1, param2, param3, param4 );
la classe è fatta più o meno in questo modo:

Codice PHP:
class miaclasse{
    
// [Member variables]
    
var $dbResource;
    var 
$dbName '';
    
// bla, bla, bla
    // bla, bla, bla
    // bla, bla, bla
    
function funzione( &$dbResource$dbName$param ){
        if( 
is_resource$dbResource ) ){
            
$this->dbResource = &$dbResource;
            
$this->dbName = &$dbName;
//... ... 
ho letto nel php.ini questo:
; - allow_call_time_pass_reference = Off [Code cleanliness]
; It's not possible to decide to force a variable to be passed by reference
; when calling a function. The PHP 4 style to do this is by making the
; function require the relevant argument by reference.

; Whether to enable the ability to force arguments to be passed by reference
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged method of
; specifying which arguments should be passed by reference is in the function
; declaration. You're encouraged to try and turn this option Off and make
; sure your scripts work properly with it in order to ensure they will work
; with future versions of the language (you will receive a warning each time
; you use this feature, and the argument will be passed by value instead of by
; reference).
allow_call_time_pass_reference = Off
potrebbe dipendere da questo?
[edit] in effetti anche mettendolo su On lo script non va lo stesso