Peachpie allows you to define PHP global functions as C# lambdas dynamically at runtime. You can use a non-existing global function in your PHP code, so the compiler postpones its direct call by using 'Call Sites'. Then, we provide the function definition in the runtime before the call is made so that the runtime uses your provided method.
// the function foo is not defined
// but the compiler will postpone its call to runtime