Project

Profile

Help

Feature #3854

closed

Add PHP's magic methods

Added by O'Neil Delpratt over 6 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP API
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

Please register to edit this issue

Also available in: Atom PDF