bitwiseShiftRight_variationStr2.phpt 228 B

123456789101112131415161718
  1. --TEST--
  2. Test >> operator : numbers as strings, simple
  3. --FILE--
  4. <?php
  5. error_reporting(E_ERROR);
  6. var_dump("12" >> "0");
  7. var_dump("34" >> "1");
  8. var_dump("56" >> "2");
  9. ?>
  10. ===DONE===
  11. --EXPECT--
  12. int(12)
  13. int(17)
  14. int(14)
  15. ===DONE===