Feature proposal #6900
closed
Implement capturing of echos in code usage
Added by krileon almost 7 years ago.
Updated almost 7 years ago.
Start date:
30 November 2017
Description
Currently echos are discarded and only the return value for the anonymous function is output. It however should use the captured echoes, etc.. if no return value is supplied to allow either/or. Maybe combine them if both echos and returns are used.
- Target version changed from 7.0.1 to 7.1.0
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
As long as the return value is a string, empty string, or null the echos will be PREPENDED to the content output. It will not prepend the echo if the return value is an integer, object, array, boolean, etc..
- Status changed from Resolved to Closed
Also available in: Atom
PDF