php-doc-en/language/types
Agustin Gomes 9dd74f527d
Correct note to state behavior is still possible
The behavior in the Example #7 Old way to make arguments nullable
is still possible in PHP today.

For reference, I thought initially this was a bug in the PHP Core,
and tried to add the respective test case in the PR:

https://github.com/php/php-src/pull/7627

Closes GH-1142.
2021-11-24 18:38:06 +01:00
..
array.xml Uninitialized type properties are silently discarded on array cast 2021-11-17 15:15:09 +01:00
boolean.xml Updated examples of casting to boolean 2021-08-29 16:27:06 +02:00
callable.xml Further removal of PHP 5 mentions in language section 2020-11-09 13:27:06 +00:00
declarations.xml Correct note to state behavior is still possible 2021-11-24 18:38:06 +01:00
enumerations.xml Document enumerations 2021-10-29 01:14:57 +02:00
float.xml Add a page about numeric strings 2020-11-27 15:56:30 +00:00
integer.xml PHP 8.1: Update integer docs for new octal notation 2021-11-13 11:00:05 +01:00
iterable.xml Move iterable variance section to OOP section 2021-05-04 18:25:23 +01:00
null.xml fixed unset cast removed warning as of PHP 8.0.0. 2021-08-12 22:31:24 +09:00
numeric-strings.xml PHP 7.0 was silent about pseudo-numeric string juggling 2021-03-19 01:28:04 +01:00
object.xml Array to object cast: numeric keys are accessible as of PHP 7.2.0 2018-05-02 21:51:50 +00:00
resource.xml Another round of PHP 4 content removal (mostly inline mentions) 2016-12-05 10:17:07 +00:00
string.xml Fix #81635: No example of complex interpolation syntax with filenames 2021-11-18 15:18:17 +01:00
type-juggling.xml Revert "Show info about PHP error reporting" 2021-03-19 01:54:04 +01:00