Output of the "Executing encapsulated PHP code with a closure" PHP snippet
Environment:
- Strangebuzz Snippet VM: 6.4.2
- PHP: 8.3
Code execution output:
before
With an anonymous function
after
before
With a closure assigned to a variable
after
before
With an arrow function
after