bitwiseShiftLeft_variationStr2.phpt 207 B

12345678910111213141516
  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. --EXPECT--
  11. int(12)
  12. int(68)
  13. int(224)