Update php function library with some extensions

The extensions are json, curl, mysqli.