Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

PHP 7.3

Questions related to using nuBuilder Forte.
Post Reply
bluemoon4281
Posts: 4
Joined: Thu Apr 19, 2012 1:02 pm

PHP 7.3

Unread post by bluemoon4281 »

Hi,
Does anyone know if nuBuilder Forte supports PHP 7.3 or what the maximum supported version is? I've searched around but couldn't come up with anything definitive.

Thanks,
Bluemoon
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: PHP 7.3

Unread post by kev1n »

Hi,

7.3. works for me but I haven't tried newer versions.
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: PHP 7.3

Unread post by Janusz »

fyi
just tested the latest PHP 7.4.0 stable release on Debian
https://www.php.net/manual/en/migration74.php

in nuBuilder works fine - no issue in Debug - everything looks OK

However when I am checking tha apache2 error logs I have following [php7:warn]

Code: Select all

Creating default object from empty value in /var/www/....../nuapi.php on line 36, referer: https://......./index.php
Creating default object from empty value in /var/www/..../nuapi.php on line 36, referer: https://....../index.php?i=2&opener=......
and in nuapi.php line 36 there is

Code: Select all

 $f->forms[0]  = new stdClass;
If you like nuBuilder, please leave a review on SourceForge
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: PHP 7.3 -> 7.4.1

Unread post by Janusz »

Warning in apache error logs on ver 7.4 can be removed by adding
error_reporting(E_ERROR | E_PARSE); in nuapi.php
following:
https://stackoverflow.com/questions/890 ... lue-in-php

Was trying as well to modify the code: $f->forms[0] = new stdClass; as described in above link - to remove the warning but without success so far.

Except this warning everything works OK on 7.4. Time response between 7.3 and 7.4 is similar - I did not notice any difference on my application - in both cases everything works very fast.
If you like nuBuilder, please leave a review on SourceForge
Post Reply