Skip to content

Commit 323d322

Browse files
committed
missing bitwise xor function
Fixes error: ``` [object Object] has no method 'Node_Expr_BitwiseXor' ``` Which results from using xor e.g: ``` error_reporting(E_ALL ^ E_NOTICE); ```
1 parent 5793c36 commit 323d322

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

PHP.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11106,6 +11106,16 @@ PHP.Parser.prototype.Node_Expr_BitwiseOr = function() {
1110611106

1110711107
};
1110811108

11109+
PHP.Parser.prototype.Node_Expr_BitwiseXor = function() {
11110+
return {
11111+
type: "Node_Expr_BitwiseXor",
11112+
left: arguments[ 0 ],
11113+
right: arguments[ 1 ],
11114+
attributes: arguments[ 2 ]
11115+
};
11116+
11117+
};
11118+
1110911119
PHP.Parser.prototype.Node_Expr_BitwiseNot = function() {
1111011120
return {
1111111121
type: "Node_Expr_BitwiseNot",

0 commit comments

Comments
 (0)