Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
560 | major | always | 12-24-05 10:31 | 12-27-05 16:32 | |
|
|||||
Reporter: | bago | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|||||
Summary: | 0000560: === for arrays is implemented like the java == but it should be implemented differently! | ||||
Description: |
This took so long to find out! Here is the definition of === from the manual: http://www.php.net/manual/en/language.operators.comparison.php [^] $a === $b Identical TRUE if $a is equal to $b, and they are of the same type. (introduced in PHP 4) |
||||
Steps To Reproduce: |
<?php $foo = array(); $bar = $foo; if($bar===$foo) print "true"; else print "false"; ?> php result: true quercus result: false |
||||
Additional Information: | Doing the same with a non array variable works fine. | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|