承接 doctorbeat/mysql-continued 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

doctorbeat/mysql-continued

Composer 安装命令:

composer require doctorbeat/mysql-continued

包简介

A dropin replacement for the removed mysql_* functions in php7. Backward compatibility for deprecated mysql functions.

README 文档

README

All existing mysql_* functions are deprecated and will be removed from php in version 7. This forces many users to migrate to mysqli or pdo:mysql. mysql-continued aims to be a drop in replacement for the existsing mysql-library. Simply include the php-file and keep on running without modifying and testing your existing code.

limitations

mysql-continued has these limitations:

  • it can not handle multiple database connections
  • it does not accept passing the $link_identifier resource into its functions (follows from first limitation)
  • it implements most but not all existing functions (see below)
  • it ignores the default ini-connect-values in mysql_connect();
  • mysql_connect ignores the $new_link and $client_flags parameters

conflicts

The code creates a global variable '$mysc_obj' that could conflict with your existing code.

dependencies

  • pdo_mysql

unsupported functions

  • mysql_list_*
  • mysql_info()
  • mysql_get_proto_info()
  • mysql_client_encoding()
  • mysql_create_db()
  • mysql_data_seek()
  • mysql_db_name()
  • mysql_drop_db()
  • mysql_fetch_field()
  • mysql_fetch_lengths()
  • mysql_fetch_flags()
  • mysql_fields_*
  • mysql_list_processes()
  • mysql_thread_id()
  • mysql_stat()

install

Composer

composer require doctorbeat/mysql-continued

Or old-school: download and

require_once MysqlContinued.php;

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固