Created
August 17, 2021 20:38
-
-
Save adamcameron/938148fb5c1859fab1ada67d2489c137 to your computer and use it in GitHub Desktop.
More <cfexit> shenanigans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Base.cfc | |
component { | |
writeOutput("Top of pseudo-constructor of #getMetadata(this).name#<br>") | |
exit; | |
writeOutput("Bottom of pseudo-constructor of #getMetadata(this).name#<br>") | |
function init() { | |
writeOutput("In #getMetadata(this).name#.#getFunctionCalledName()#<br>") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Top of testBase.cfm | |
Top of pseudo-constructor of test.exit.Base | |
In test.exit.Base.INIT | |
Bottom of testBase.cfm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Top of testBase.cfm | |
Top of pseudo-constructor of nonWheelsTests.exit.function.Base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfoutput> | |
Top of #getFileFromPath(getCurrentTemplatePath())#<br> | |
<cfset base = new Base()> | |
Bottom of #getFileFromPath(getCurrentTemplatePath())#<br> | |
</cfoutput> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment