[fx.php_list] Re: Versions of PHP supported by FX?

  • From: Andrew Denman <adenman@xxxxxxxx>
  • To: "fx.php_list@xxxxxxxxxxxxx" <fx.php_list@xxxxxxxxxxxxx>
  • Date: Fri, 11 Aug 2017 14:26:55 +0000

Sorry, just saw this! I am running it on PHP 7.0, but had to rename all of the 
constructor functions to fit the new required format of being named 
"__construct". There was some code that also directly called some of those 
functions named after the class, so I took the easy route and added a function 
with the class name that just calls the __construct function.

At the time I created an issue for this, but it doesn't look like github has 
been updated yet and I haven't been able to sit down and create an update.
https://github.com/yodarunamok/fxphp/issues/36

Example for FX.php file (starts at line 173 on the current github file):
// Constructor
function __construct ($dataServer, $dataPort=80, $dataType='', $dataURLType='') 
{
...
}
function FX ($dataServer, $dataPort=80, $dataType='', $dataURLType=''){
        self::__construct($dataServer, $dataPort, $dataType, $dataURLType);
}


Andrew Denman

-----Original Message-----
From: fx.php_list-bounce@xxxxxxxxxxxxx 
[mailto:fx.php_list-bounce@xxxxxxxxxxxxx] On Behalf Of Joel Shapiro
Sent: Tuesday, July 18, 2017 10:21 PM
To: fx.php_list@xxxxxxxxxxxxx
Subject: [fx.php_list] Versions of PHP supported by FX?

Hey All

Can anyone tell me what versions of PHP are supported by FX.php?  Can it run on 
PHP 7.x?

Thanks,
-Joel


_____________________________________________________________________
     FX.php Official Web Site -- http://fx.iviking.org/ FX.php Official Mailing ;
List -- //www.freelists.org/list/fx.php_list
     (Subscribe, unsubscribe, and more at the mailing list site!)

                  FX.php_List@xxxxxxxxxxxxxxxx

_____________________________________________________________________
     FX.php Official Web Site -- http://fx.iviking.org/
FX.php Official Mailing List -- //www.freelists.org/list/fx.php_list
     (Subscribe, unsubscribe, and more at the mailing list site!)

                  FX.php_List@xxxxxxxxxxxxxxxx

Other related posts: