====== Datentypen ====== ===== PHP ===== * **string**. String of characters so basically just a text. Defined by ''. * **int**. Whole numbers. Litterally just numbers without a comma. * **float**. Decimal numbers. Litterally just numbers with a comma. * **bool**. True or False value. Defined by true or false. Thingy can be truthy and falsy like 0 and 1. * **array**. List of multiple values. Can contain all sorts of things like Objects, strings, numbers. Index can be named or just numbers. * **objects**. Objects can be all sorts of things like value Objects. But also could be a SQL query or whatever. * **null** The defined absence of a value. * **iterable** Iterable is a bit weird, its basically extended by anything that can be iterated through, obvious examples would be arrays and Collections but also Entities can be iterated through. Extending iterable makes it so you can run things like foreach on that data.