Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
Bug #4679
Updated by O'Neil Delpratt almost 4 years ago
Reporte by user: In the function exampleSimple1 given in the samples Xslt30Examples.php, the `transformToString()` function is called without a parameter, while one can be provided. The [documentation](http://www.saxonica.com/saxon-c/documentation/index.html#!api/saxon_c_php_api/saxon_c_php_xslt30processor) the (documentation)[http://www.saxonica.com/saxon-c/documentation/index.html#!api/saxon_c_php_api/saxon_c_php_xslt30processor] it states: ~~~ The global context item may be supplied in the $context argument. ~~~ The context MAY be supplied, so its optional. However, when I run the function without a parameter, I get an error message stating that the function expects 1 parameter, and zero are given. Exactly the same issue applies when invoking the transformToFile() function without a parameter.