User Tools

Site Tools


programmieren:grundlagen:datentypen

This is an old revision of the document!


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.
programmieren/grundlagen/datentypen.1785854816.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki