diff options
Diffstat (limited to 'ext/opcache/tests/jit/shift_right_002.phpt')
-rw-r--r-- | ext/opcache/tests/jit/shift_right_002.phpt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/opcache/tests/jit/shift_right_002.phpt b/ext/opcache/tests/jit/shift_right_002.phpt index 1fea4e1c4b..3d86a08116 100644 --- a/ext/opcache/tests/jit/shift_right_002.phpt +++ b/ext/opcache/tests/jit/shift_right_002.phpt @@ -11,38 +11,38 @@ opcache.protect_memory=1 --FILE-- <?php function shr0(int $a) { - return $a >> 0; + return $a >> 0; } function shr1(int $a) { - return $a >> 1; + return $a >> 1; } function shr2(int $a) { - return $a >> 2; + return $a >> 2; } function shr64(int $a) { - return $a >> 64; + return $a >> 64; } function shrNEG(int $a) { - return $a >> -1; + return $a >> -1; } var_dump(shr0(256)); var_dump(shr1(256)); var_dump(shr2(256)); var_dump(shr2(-8)); try { - var_dump(shr64(1)); + var_dump(shr64(1)); } catch (Throwable $e) { - echo "Exception " . $e->getMessage() . "\n"; + echo "Exception " . $e->getMessage() . "\n"; } try { - var_dump(shr64(-1)); + var_dump(shr64(-1)); } catch (Throwable $e) { - echo "Exception " . $e->getMessage() . "\n"; + echo "Exception " . $e->getMessage() . "\n"; } try { - var_dump(shrNEG(1)); + var_dump(shrNEG(1)); } catch (Throwable $e) { - echo "Exception (" . get_class($e) . "): " . $e->getMessage() . "\n"; + echo "Exception (" . get_class($e) . "): " . $e->getMessage() . "\n"; } ?> --EXPECT-- |