il var in PHP non esiste, c'è public, protected, e private
ma non è li il problema, e per compatibilità il tuo codice dovrebbe andare ... soprattutto scrivendo instanceof ...
il var in PHP non esiste, c'è public, protected, e private
ma non è li il problema, e per compatibilità il tuo codice dovrebbe andare ... soprattutto scrivendo instanceof ...