No Now tried code and output - https://gist.github.com/pilshchikov/4c02057e624baa54326a1e75b4ee3f46 And it looks like it works
пт, 26 окт. 2018 г. в 17:10, Alexey Kosenchuk < alexey.kosenc...@nobitlost.com>: > Hi Stepan, > > Have you tried the same with Java and .net thin clients as well and > everything work fine? > > Thanks, > -Alexey > > 26.10.2018 16:57, Stepan Pilschikov пишет: > > Hi, everyone > > > > Create new thread to centralize cross compatibility and others common > > problems between thin clients > > > > Tying to use Object array to exchange different data between JS, PHP and > > Python thin clients > > > > JS and PHP simply can't put any type of arrays > > Python can put data, but if you take it, data would be completely > > different, maybe during this put process data is changed > > > > Code and output: > > PHP - > https://gist.github.com/pilshchikov/e887d31d4f2f36923470fead14c7801a > > JS - > https://gist.github.com/pilshchikov/ba49067fd8924ebdf4414ec63838b86d > > Python - > > https://gist.github.com/pilshchikov/f4bbf76e31547e2dca7d4cc5d55bd24f > > > > I'm tried different data types (string, double, float, complex objects, > > just random objects, char, byte, Date), still > > > > How, from my perspective, it should works: > > put array of any type and then get this array. > > Example: put [1,2,3] -> get [1,2,3] or put [new Date(), new Date()] -> > > get [[Date object], [Date object]] (like in java thin client) > > > > Looks like bug in all clients, what you think? > > > > I wanted to try Collections, but i think this type have same problem >