Some deprecated functions with PHP > 5.3

Asked by Philippe Lefevre

I encountered some deprecated functions in jpgraph.php with my current 5.3 PHP version.
It stops applications based on it and displays some errors.

To workaround, they can be easily replaced by new functions :
- split() : can be replaced by preg_split()
- ereg() : can be replaced by preg_match()

It seems that JpGraph is not under a GPLed licence anymore. Does this mean that this package will be removed in a close future or will this development be forked to a new one ?
Is it still maintained ?
Thanks for your answers

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libphp-jpgraph Edit question
Assignee:
No assignee Edit question
Solved by:
Philippe Lefevre
Solved:
Last query:
Last reply:
Revision history for this message
Mark Tetrode (mark-tetrode) said :
#1

Philippe

According to http://jpgraph.net/download/ , JPGraph is released under a dual license. QPL 1.0 (Qt Free License) For non-commercial, open-source or educational use and JpGraph Professional License for commercial use. The professional version also includes additional features and support.

If you use it for non-commercial, open-source or educational purposes it is free.

When you use it commercially, you need to pay.

Mark

Revision history for this message
Philippe Lefevre (ph-l) said :
#2

Many thanks for your reply Mark.
I read this, but in fact, I didn't notice that the ubuntu package (for Lucid Lynx) is still using a very old version : 1.5.2-12 instead of 3.5.
I understand now why there are such a deprecated functions !!
Thx again,
PhiL