Doc #80707 [Opn]: function parameter ?t $v not described

From: Date: Wed, 03 Feb 2021 23:44:26 +0000
Subject: Doc #80707 [Opn]: function parameter ?t $v not described
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18499@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80707&edit=1

 ID:                 80707
 Updated by:         tiffany@php.net
 Reported by:        Bernhard dot Stauss at Clareon dot de
 Summary:            function parameter ?t $v not described
 Status:             Open
 Type:               Documentation Problem
 Package:            Documentation problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.nullable


Previous Comments:
------------------------------------------------------------------------
[2021-02-03 23:35:35] Bernhard dot Stauss at Clareon dot de

Description:
------------
---
From manual page: https://php.net/functions.arguments
---
The manual page says no single word about function parameters declared as

   ?<type> $<param-name>

where <type> is the data type of the parameter 
and <param-name> is the name of the parameter.

What is the meaning of such a parameter declaration?



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80707&edit=1


Thread (5 messages)

« previous php.doc.bugs (#18499) next »