2017 © Pedro Peláez
 

library mysql-continued

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

image

doctorbeat/mysql-continued

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

  • Wednesday, November 16, 2016
  • by doctor-beat
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

mysql-continued

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., (*1)

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, (*2)

conflicts

The code creates a global variable '$mysc_obj' that could conflict with your existing code., (*3)

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, (*4)

composer require doctorbeat/mysql-continued

Or old-school: download and, (*5)

require_once MysqlContinued.php;

The Versions

16/11 2016

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql *

 

The Development Requires

by Avatar doctor-beat

16/11 2016

v1.0.4

1.0.4.0

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

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql *

 

The Development Requires

by Avatar doctor-beat

15/11 2016

v1.0.2

1.0.2.0

a dropin replacement for the discontinued mysql_* functions

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql *

 

The Development Requires

by Avatar doctor-beat

15/11 2016

v1.0.3

1.0.3.0

a dropin replacement for the discontinued mysql_* functions

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql *

 

The Development Requires

by Avatar doctor-beat

05/01 2016

v1.0.1

1.0.1.0

a dropin replacement for the discontinued mysql_* functions

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql *

 

The Development Requires

by Avatar doctor-beat

04/01 2016

v1.0.0

1.0.0.0

a dropin replacement for the discontinued mysql_* functions

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql *

 

The Development Requires

by Avatar doctor-beat