انواع SPL
PHP Manual

Introduction

این ضمیمه در تلاش است تا انواع قوی را در PHP ایجاد کند و جایگزین خوبی برای حدس نوع خطی است کلاس‌های متفاوت‌تری برای کنترل نوع مانند integer، float، bool، enum و string فراهم می‌کند

Warning

This extension is EXPERIMENTAL. The behaviour of this extension including the names of its functions and any other documentation surrounding this extension may change without notice in a future release of PHP. This extension should be used at your own risk.


انواع SPL
PHP Manual