Unserialize in Java a serialized php object

前端 未结 15 1100
闹比i
闹比i 2020-11-29 11:31

Does anyone know if it is possible, actually if it has been done, to serialize an object in php and unserialize it in Java (java-php communication). Maybe an adapter will be

15条回答
  •  广开言路
    2020-11-29 11:50

    Note that there's a Java implementation of PHP. So you may be able to serialise the object and pass it to your Java-PHP instance, deserialise and then call into your Java infrastructure.

    It all sounds a bit of an unholy mess, but perhaps worth looking at!

提交回复
热议问题