From 34e549ee71d57faf084ba8429309cc26bfcc22f4 Mon Sep 17 00:00:00 2001 From: Superkooka Date: Sun, 28 Feb 2021 14:06:12 +0100 Subject: [PATCH] Fix markdown typo in spec/ --- spec/08-conversions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/08-conversions.md b/spec/08-conversions.md index e93183d3..069676d6 100644 --- a/spec/08-conversions.md +++ b/spec/08-conversions.md @@ -14,7 +14,7 @@ Conversions to `resource` and `null` types can not be performed. ## Converting to Boolean Type -The [result type] (http://www.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting) is [`bool`](05-types.md#the-boolean-type). +The [result type](http://www.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting) is [`bool`](05-types.md#the-boolean-type). If the source type is `int` or `float`, then if the source value tests equal to 0, the result value is `FALSE`; otherwise, the result value is `TRUE`.