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

opencc_open create persist resource. #27

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

Conversation

fubuki
Copy link

@fubuki fubuki commented Apr 27, 2017

opencc_open 會建立一個 persist resource,只有當 process 結束或是直接呼叫 opencc_close 才會釋放 resource,如果使用相同參數呼叫 opencc_open,php 會先去檢查是否存在 persist resource,如果有就直接回傳,如果沒有就另外新建立 resource 。

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.

1 participant