Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10898

Re: the changeover to mysqli

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Subject Re: the changeover to mysqli
Newsgroups comp.lang.php
References (1 earlier) <l1tme2$fte$1@dont-email.me> <l1v6he$3q9$1@dont-email.me> <1cun3xxz7nbpj.zop5ye5ou0f7$.dlg@40tude.net> <l1vdh6$ihs$1@dont-email.me> <15s6jbs22g16c.5b5zelxymgk0.dlg@40tude.net>
Organization The Pitcher Digital Freehold
Message-ID <dRI0u.71059$ey4.57644@fx02.iad> (permalink)
Date 2013-09-25 17:46 -0400

Show all headers | View raw


On Wednesday 25 September 2013 16:21, in comp.lang.php, richard
(noreply@example.com) wrote:

> On Wed, 25 Sep 2013 19:28:38 +0000 (UTC), Adam Harvey wrote:
> 
>> On Wed, 25 Sep 2013 15:01:28 -0400, richard wrote:
>>> Hell, if that theory held true, we'd still be using tables.
>>> So why don't they just make the change, be done with it and let the
>>> people have the option of using either.
>> 
>> The change you refer to happened nine years ago, when PDO and mysqli were
>> bundled into the release of PHP 5.0.0. You've had the option of using
>> either since then.
>> 
>> Make no mistake: ext/mysql will be removed at a future date. The manual
>> text isn't hyperbole. All I'm saying is that it almost certainly won't be
>> next year, but that it will be soon enough that writing new code to use
>> ext/mysql is unwise.
>> 
>> Adam
> 
> then why hasn't the horses mouth followed their own demands?
> Of all the reference material I've seen on their site, all examples refer
> to mysql, NOT mysqli.

Richard, forget that we even suggested that you be proactive about your
site. You don't need to take any action now; you can wait until your
provider switches to whatever PHP release that removes the mysql_
interface, and then make your changes.

Of course, your site will be unavailable for the duration of your
changeover, and you won't be able to easily regression test the code
changes, but those are trivialities. I'm sure that you won't be off the air
for more than a few weeks.

As for the examples in the PHP documentation, I notice that most of them
are "contributed" by outsiders, as comments. I'm not certain that I'd trust
most of those examples to be representative of how the PHP maintainers
recommend that you do things.

HTH
-- 
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

the changeover to mysqli richard <noreply@example.com> - 2013-09-24 22:38 -0400
  Re: the changeover to mysqli Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-24 23:48 -0400
    Re: the changeover to mysqli Adam Harvey <usenet@adamharvey.name> - 2013-09-25 17:29 +0000
      Re: the changeover to mysqli richard <noreply@example.com> - 2013-09-25 15:01 -0400
        Re: the changeover to mysqli Adam Harvey <usenet@adamharvey.name> - 2013-09-25 19:28 +0000
          Re: the changeover to mysqli richard <noreply@example.com> - 2013-09-25 16:21 -0400
            Re: the changeover to mysqli Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-25 22:36 +0200
            Re: the changeover to mysqli Adam Harvey <usenet@adamharvey.name> - 2013-09-25 20:38 +0000
              Re: the changeover to mysqli richard <noreply@example.com> - 2013-09-25 20:16 -0400
            Re: the changeover to mysqli Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-25 21:11 +0000
            Re: the changeover to mysqli Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2013-09-25 17:46 -0400
              Re: the changeover to mysqli Twayne <nobody@spamcop.net> - 2013-09-26 18:28 -0400
        Re: the changeover to mysqli Tim Streater <timstreater@greenbee.net> - 2013-09-25 22:38 +0100
          Re: the changeover to mysqli Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-25 23:58 +0200
            Re: the changeover to mysqli Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-25 22:53 -0400
              Re: the changeover to mysqli Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-26 20:59 +0200
                Re: the changeover to mysqli Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-26 15:41 -0400
            Re: the changeover to mysqli Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-27 01:09 +0200
      Re: the changeover to mysqli Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-25 15:34 -0400
        Re: the changeover to mysqli Fiver <numeralfive@gmail.com> - 2013-09-25 23:32 +0200
          Re: the changeover to mysqli Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-25 22:54 -0400
            Re: the changeover to mysqli Fiver <numeralfive@gmail.com> - 2013-09-26 05:30 +0200
              Re: the changeover to mysqli Curtis Dyer <dyer85@gmail.com> - 2013-09-26 06:13 +0000
            Re: the changeover to mysqli Twayne <nobody@spamcop.net> - 2013-09-26 18:32 -0400
  Re: the changeover to mysqli Scott Johnson <noonehome@chalupasworld.com> - 2013-09-24 21:14 -0700
  Re: the changeover to mysqli David Robley <me@home.invalid> - 2013-09-25 13:50 +0930

csiph-web