ایک closure ایک anonymous function ہے (ایک بغیر نام کا function، جو ایک variable میں محفوظ ہو)۔ ایک callable کوئی بھی چیز ہے جو PHP کو function کے طور پر call کر سکتا ہے — closures، named functions، methods، یا invokable objects۔ یہ functional-style programming، callbacks، اور higher-order functions کو ممکن بناتے ہیں۔
Closures (anonymous functions)
= {
* ;
};
();
= * ;
();
