|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74024 Nullable types aren't documented, except in the migration guide
Submitted: 2017-01-31 15:55 UTC Modified: 2021-01-13 13:06 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mat at zerifas dot com Assigned: cmb (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 7.1.1 OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mat at zerifas dot com
New email:
PHP Version: OS:


 [2017-01-31 15:55 UTC] mat at zerifas dot com
First I looked here which links to here

The only mention of nullable is using the old syntax:

There's nothing on the return types page either:

Finally, I looked at the Types page, but nothing there either

I eventually found what I was looking for in the new features part of the migration guide, but feel it should be in the main docs too:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-05 10:23 UTC]
-Status: Open +Status: Verified -Package: Documentation problem +Package: Scripting Engine problem
 [2017-10-05 10:23 UTC]
This is particularly important for the arguments page as a nullable type is the only way to get a null value into a typed variadic list - see doc bug #74024.
 [2017-10-05 10:24 UTC]
*bug #75312
 [2017-10-07 12:56 UTC] mat at zerifas dot com
-Package: Documentation problem
+Package: Scripting Engine problem

This seems an odd choice – what's the reasoning?
 [2017-10-07 13:54 UTC]
It's more helpful than saying it's a documentation problem in the documentation package.
 [2021-01-13 13:06 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jan 28 10:05:53 2023 UTC