Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Add test for instanceof operator expression analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Levin committed Sep 13, 2014
1 parent 6111454 commit 97183e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/Integration/Analysis/BasicExpressionAnalysisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ function () { 2.3 || true; },
function () { false || 2.1; },
function () { [] || true; },
function () { false || [1,2]; },
function () { false instanceof \stdClass; },
],
INativeType::TYPE_ARRAY => [
function () { [] + [1,2]; },
Expand Down

0 comments on commit 97183e8

Please sign in to comment.