- var_dump: documentation ( source)
- print_r: documentation ( source)
- test2: documentation ( source)
<?php
function test2(){
print_r("printuje returna\n");
return "zwracam returna";
}
function test(){
try {
throw new Exception("test");
}
catch(Exception $e)
{
return test2();
}
finally
{
print_r("printuje finaly\n");
}
}
var_dump(test());