ciao....
ho un buffer dati in c# e vorrei sapere l'equivalente in php....come deve essere?
Codice PHP:

typedef struct _CMProduct
{
    
char          product[20];      // Stringa del nome prodotto
    
char          name[20];         // Nome device
    
char          serial[8];        // Serial number per WT sono le ultime 3 cifre del MAC Address
    
unsigned char bUsedhcp;
    
unsigned char abFill[3];
    
unsigned long uIp;              // Indirizzo IP della deviced
    
unsigned long uPort;
    
unsigned long uSw_ver;
    
unsigned long uHw_ver;
    
unsigned long uFlags;       // FLAG_...
    
unsigned long uGp0;
    
unsigned long uGp1;
    
unsigned long uGp2;
    
unsigned long uGp3;



devo creare una classe? un array ? come posso definire le variabili assegnando quandi char hanno? il tipo di variabile ecc?