Skip to content

Commit b49fd56

Browse files
authored
Merge pull request #40 from vjik/typecasting-space
Spaces in type casting
2 parents 9dc210d + 65dad54 commit b49fd56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,9 @@ $i++;
990990
++$j;
991991
```
992992

993-
Type casting operators MUST NOT have any space within the parentheses:
993+
Type casting operators MUST NOT have any space within the parentheses and MUST be separated from the variable they are
994+
operating on by exactly one space:
995+
994996
```php
995997
$intValue = (int) $input;
996998
```

0 commit comments

Comments
 (0)