Actions
Feature proposal #6900
closedImplement capturing of echos in code usage
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.
Updated by krileon almost 7 years ago
- Target version changed from 7.0.1 to 7.1.0
Updated by krileon almost 7 years ago
- 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..
Actions