Actions
Feature #3854
closedAdd PHP's magic methods
Start date:
2018-07-20
Due date:
% Done:
0%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.1.0
Fixed in version:
11.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
A user of Saxon/C in PHP tried to use an XdmAtomicValue
directly in a string concatenation.
This failed with the error:
PHP Recoverable fatal error: Object of class Saxon\\XdmAtomicValue could not be converted to string in /var/www/html/web/php/make-course-catalog.php on line 32, referer: http://localhost/web/index.html
It would be good in the next release of Saxon/C to add PHP magic methods for the Xdm APIs
Updated by O'Neil Delpratt over 5 years ago
- Status changed from New to In Progress
Update:
I have now added the PHP __toString. Now reviewing if we should add any other PHP magic methods.
Testing also required.
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from In Progress to Resolved
Marking this as resolved.
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from Resolved to Closed
- Fixed in version set to 11.1
Feature available in the SaxonC 11.1 release
Please register to edit this issue
Actions