phptimeseries should return value