mam to linecodeParse error: syntax error, unexpected '[', oczekując ')'
$media = $dc->thumbnail->attributes()['url'];
działa poprawnie na moim komputerze lokalnym (WAMP) PHP 5.4.3 ale kiedy i udostępniać je na moim serwerze cpanel to daje ten błąd
Parse error: syntax error, unexpected '[', expecting ')'
wersja php na mój serwer jest 5.2.17
i dnt widzę żadnego problemu z tym, proszę o pomoc
Ponieważ wersji PHP. – Pitchinnate
5.2 i 5.4 są na całym świecie moim przyjacielem. – Trent
http://stackoverflow.com/questions/742764/php-syntax-for-dereferencing-function-result – Pitchinnate