Warning: Missing argument 1 for Automovil::obtenerMarca(), called in /home/sistem7/public_html/courses/files/curso-PHP/orientado-a-objetos/ejemplos/EjemploThisIncorrecto.php on line 15 and defined in /home/sistem7/public_html/courses/files/curso-PHP/orientado-a-objetos/ejemplos/EjemploThisIncorrecto.php on line 5

Fatal error: Using $this when not in object context in /home/sistem7/public_html/courses/files/curso-PHP/orientado-a-objetos/ejemplos/EjemploThisIncorrecto.php on line 6