json_decode error

json_decode is working on my local , but when i want to import it on server its not working. ( my server has json functions)

what u think about that ?

My view: $json = json_decode($val->liked_users,true);


not: json is working under website ( i mean on phalcon view not working)


i solved it , cuz of my problem . json_decode($var) var is empty.

Sorry :)