-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
Description
From @sergeyklay on August 15, 2015 19:31
php works fine
$a = 16;
$a |= $a >> 1; // 24
// the same as
// $a = $a | ($a >> 1);
zephir throws Zephir\ParseException
with "Syntax error" message
var a;
let a = 16;
let a |= a >> 1;
Syntax error in /tmp/foo/foo/bar.zep on line 33
let a |= a >> 1;
--------------^
works fine
var a;
let a = 16;
let a = a | (a >> 1);