php, is this possible? custom defined functions with squigly brackets?

Chris G

New member
Can you write a function that has you can group stuff inside (difficult to explain, so this example):

my_function("some", "paramaters"){



}


so when i call the function i call it with the squiggly brackets like you would with a for, or with statement

if i can make one, what are they called? or how do i do it?
 
Back
Top