breaking a php 5.0 class for backward compatible…

hey Drew, can you take a look at https://unpapapro.com/vbe-complimentaries/statistics-tendencies/4955/ and see what you could do with the actual problem?… the class with the problem is the one to calculate the tendencies of each month, and it is written in PHP 5… i provided a start of fix for 4.3, but it does not work like planned, as i know nothing about classes…

if you think it does not worth the effort to make a 4.3 version, tell me, so i would tell the guy…

Views: 31

7 thoughts on “breaking a php 5.0 class for backward compatible…”

  1. Drew dit :

    Did you get it or still want me to take a look? And sorry for the late reply.

  2. nexia dit :

    no problem for the late reply, i’m in vacations too… lol

    i did not get it… the main error is related to the « private » state of the class… PHP 4.3 is not compatible with that and i have no idea how to handle that… if it is impossible, just tell me, the guy will wait… he said he would pay, tell me your price.. lol

  3. Drew dit :

    lol ok so what is happening that isn’t right with PHP 4.3? Is it an error or something not working right?

  4. nexia dit :

    you read the thread?… actually i have no idea, but this is related to a specific line and when i put « var » instead of « private », the error move to a different location… i tried to tweak this, but i am null on classes… 🙂

  5. Drew dit :

    Try changing all the functions named __construct to the name of the class

  6. nexia dit :

    could you do it and help on this?… please, i will break everything.. lol… i did not code this class, it’s a freely available one.

  7. Drew dit :

    Ok try this..

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.

En savoir plus sur Un Papa Pro

Abonnez-vous pour poursuivre la lecture et avoir accès à l’ensemble des archives.

Continue reading