tiy Posted April 18, 2006 Report Share Posted April 18, 2006 Vai ieksh php ir stukturas? Ja ir tad ka tas pieraksta? Link to comment Share on other sites More sharing options...
Delfins Posted April 18, 2006 Report Share Posted April 18, 2006 (edited) Struktūras nav gan... un nafig vajag? $obj->parm = 1; Edited April 18, 2006 by Delfins Link to comment Share on other sites More sharing options...
v3rb0 Posted April 18, 2006 Report Share Posted April 18, 2006 vai pat vēl vienkāršāk $struc['name'] = 'asd'; $struct['size'] = 10; Link to comment Share on other sites More sharing options...
bubu Posted April 18, 2006 Report Share Posted April 18, 2006 php ir dinamiska valoda. Tai pietiek ar asociatīviem masīviem (v3rb0 piemērs). Link to comment Share on other sites More sharing options...
andrisp Posted April 18, 2006 Report Share Posted April 18, 2006 Kas ir struktūra ? Link to comment Share on other sites More sharing options...
bubu Posted April 18, 2006 Report Share Posted April 18, 2006 No C valodas: struct ManaUuberStruktuura { int a; float f; char* ch; }; Tips, kas sevī ļauj apvienot citus tipus. Tas pats, kas record paskālam. Link to comment Share on other sites More sharing options...
andrisp Posted April 18, 2006 Report Share Posted April 18, 2006 Izskatās līdzīgi parastajiem php objektiem. Link to comment Share on other sites More sharing options...
Recommended Posts