CHAR.php 963 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. return [
  3. [
  4. '#VALUE!',
  5. 'ABC',
  6. ],
  7. [
  8. '#VALUE!',
  9. -5,
  10. ],
  11. [
  12. '#VALUE!',
  13. 0,
  14. ],
  15. [
  16. 'A',
  17. 65,
  18. ],
  19. [
  20. '{',
  21. 123,
  22. ],
  23. [
  24. '~',
  25. 126,
  26. ],
  27. [
  28. 'Á',
  29. 193,
  30. ],
  31. [
  32. 'ÿ',
  33. 255,
  34. ],
  35. [
  36. '#VALUE!',
  37. 256,
  38. ],
  39. [
  40. '#VALUE!', // '⽇',
  41. 12103,
  42. ],
  43. [
  44. '#VALUE!', // 'œ',
  45. 0x153,
  46. ],
  47. [
  48. '#VALUE!', // 'ƒ',
  49. 0x192,
  50. ],
  51. [
  52. '#VALUE!', // '℅',
  53. 0x2105,
  54. ],
  55. [
  56. '#VALUE!', // '∑',
  57. 0x2211,
  58. ],
  59. [
  60. '#VALUE!', // '†',
  61. 0x2020,
  62. ],
  63. 'omitted argument' => ['exception'],
  64. 'non-printable' => ["\x02", 2],
  65. 'bool argument' => ["\x01", true],
  66. 'null argument' => ['#VALUE!', null],
  67. 'ascii 1 is 49' => ['1', 49],
  68. 'ascii 0 is 48' => ['0', 48],
  69. ];