• Re: php is retrocompatible ?

    From Angel@21:1/5 to All on Wed Jun 29 09:50:23 2022
    J.O. Aho kirjutas Esmaspäev, 20. august 2018 kl 06:46:44 UTC+2:
    On 08/20/2018 05:32 AM, Gianni wrote:

    is it retrocompatible ? If I use old script from php5 in a php5.6 interpreter , will they work ?
    In general php5 scripts will work on which ever php5.x version and may
    even work well in php7.x too.

    Running php4 scripts on php5.x will also work as long as it don't use
    oop as there was a major change how objects worked between the two major versions.

    Really so with oop ? I didn't know that. I have to check it out myself to believe it.


    --

    //Aho

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Thu Jun 30 10:37:53 2022
    Angel:

    J.O. Aho kirjutas Esmaspäev, 20. august 2018 kl 06:46:44 UTC+2:
    On 08/20/2018 05:32 AM, Gianni wrote:

    is it retrocompatible ? If I use old script from php5 in a php5.6
    interpreter , will they work ?
    In general php5 scripts will work on which ever php5.x version and may
    even work well in php7.x too.

    Running php4 scripts on php5.x will also work as long as it don't use
    oop as there was a major change how objects worked between the two major
    versions.

    Really so with oop ? I didn't know that. I have to check it out myself to believe it.

    <https://www.php.net/manual/en/language.oop5.php>


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)