Call php method via function name instead of calling directly.
This changes the linking error if php extension is not statically linked to a runtime error. In this way, users who don't need Timestamp can still use protobuf even if date extension is not statically linked in php.
Showing
Please
register
or
sign in
to comment