Mantis - Quercus
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
2886 |
|
minor |
always |
09-01-08 02:04 |
09-18-08 14:46 |
|
Reporter:
|
PeterJanRoes |
Platform:
|
|
|
Assigned To:
|
ferg |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
3.1.6 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
3.2.1 |
|
|
Summary:
|
0002886: Type hints: "not null" arguments are not checked on function call |
Description:
|
It seems that function arguments with a type hint do not check for null values if the possibility of null values has not been explicitly defined. The official PHP implementation does perform this check. A code sample has been included to demonstrate the problem. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
TestTypeHint.php [^] (700 bytes) 09-01-08 02:04 |