Project

Profile

Help

Feature #3854

closed

Add PHP's magic methods

Added by O'Neil Delpratt over 5 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP API
Start date:
2018-07-20
Due date:
% Done:

0%

Estimated time:
Found in version:
1.1.0
Fixed in version:
11.1
Platforms:

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