From bf43a0c4d7f226acbccae7466df025d45f3407be Mon Sep 17 00:00:00 2001 From: tokesk <44317006+tokesk@users.noreply.github.com> Date: Mon, 26 Nov 2018 12:26:32 +0100 Subject: [PATCH] Add PHP data types article (#25508) --- mock-guide/english/git/git-hosting/index.md | 25 +++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/mock-guide/english/git/git-hosting/index.md b/mock-guide/english/git/git-hosting/index.md index 2e100d88b21..4024f6f7582 100644 --- a/mock-guide/english/git/git-hosting/index.md +++ b/mock-guide/english/git/git-hosting/index.md @@ -3,11 +3,28 @@ title: Git hosting --- ## Git hosting -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. - +PHP supports ten primitive types. + +Four scalar types: +* boolean +* integer +* float (floating-point number, aka double) +* string + +Four compound types: +* array +* object +* callable +* iterable + +And finally two special types: +* resource +* NULL + + #### More Information: + +[PHP Manual](http://php.net/manual/en/language.types.intro.php)