No soy un experto en POO, pero
"
$ford = new coche(); , $peugeot = new coche();" debe ser el objeto coche, y
ford y
peugeot la marca, o sea:
Código PHP:
Ver original$coche = new coche();
$coche->marca = 'ford';
$coche->marca = 'peugeot';
Corríjanme si me equivoco.