I am attempting to use RAP with the newly released PHP 5.0. Any attempt to include it result in the message "Fatal error: Cannot re-assign $this in D:\rdfapi\api\model\DbModel.php on line 904". Are there any suggested work-arounds for this, other than going pack to a previous version of PHP?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Removing or uncommenting these lines helps and probably doesn't have any side effects.
model/DBModel.php (904), model/DBModel.php (233)
# $this = NULL;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
RAP on PHP5? It sounds interesting. I am writing a RDF-based application with PHP5 and I have some trouble because it converts all non-ASCII chars to their Unicode represenation \Uxxxx but I don't know how to convert them back. Do you know how to convert them back?
My question is: "Do you need some help in rewriting RAP into PHP5?"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am attempting to use RAP with the newly released PHP 5.0. Any attempt to include it result in the message "Fatal error: Cannot re-assign $this in D:\rdfapi\api\model\DbModel.php on line 904". Are there any suggested work-arounds for this, other than going pack to a previous version of PHP?
Thanks.
Removing or uncommenting these lines helps and probably doesn't have any side effects.
model/DBModel.php (904), model/DBModel.php (233)
# $this = NULL;
AFAIK, RAP will not work so much as expected with PHP5, because it was developed with PHP4 in mind.
The developers are working on this I think, but it's likely that they'd have to rewrite it from scratch, because PHP5 supports a better OOP model.
RAP on PHP5? It sounds interesting. I am writing a RDF-based application with PHP5 and I have some trouble because it converts all non-ASCII chars to their Unicode represenation \Uxxxx but I don't know how to convert them back. Do you know how to convert them back?
My question is: "Do you need some help in rewriting RAP into PHP5?"