Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPSerialize支持 thinkphp 前缀的处理 #1310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xuntee
Copy link

@xuntee xuntee commented Feb 18, 2025

thinkphp缓存使用redis默认带think_serialize:前缀
处理一下可以直接读写

@xuntee
Copy link
Author

xuntee commented Feb 19, 2025

带think_serialize:前缀
image
原来不能格式化不能预览,改完可以预览了
image
也可修改
image
修改也成功了
image

@qishibo
Copy link
Owner

qishibo commented Feb 19, 2025

感觉这个不是通用的序列化,可以通过自定义php脚本实现 https://github.com/qishibo/AnotherRedisDesktopManager?tab=readme-ov-file#custom-viewer
或者tp配置里来改前缀

@xuntee
Copy link
Author

xuntee commented Feb 20, 2025

thinkphp的体量也很大的
自定义php格式化 需要本软件的运行的电脑有php的环境,且还要各种定义 增加了使用成本
而且当前处理只是用户在选择用phpserialize 的时候处理 不是全局的 不影响性能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants