내 로컬 (WAMP) PHP 5.4.3 을에이 linecode가구문 분석 오류 : 구문 오류, 예기치 않은 '['기대 ')'
$media = $dc->thumbnail->attributes()['url'];
실행 잘해야하지만 난 내 서버에 호스팅 할 때 의 cPanel 그런 다음 내가 그것으로 모든 문제를 볼 DNT
이, 도와주세요 5.2.17
내 서버의 PHP 버전은Parse error: syntax error, unexpected '[', expecting ')'
이 오류를 제공
을 때문에 PHP 버전의. – Pitchinnate
5.2와 5.4는 세상과 떨어져 있습니다. – Trent
http://stackoverflow.com/questions/742764/php-syntax-for-dereferencing-function-result – Pitchinnate