Skip to content
mahills edited this page May 28, 2013 · 1 revision

The print expression in PHP is represented by the print constructor in our PHP AST. Unfortunately, this can conflict with the built-in Rascal print function, which is in the prelude and part of the IO module. To avoid this conflict, use Expr::print, which identifies the constructor as the one defined as part of the Expr datatype.

Clone this wiki locally