home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / bug-441289.php < prev    next >
Encoding:
PHP Script  |  2004-03-24  |  2.1 KB  |  115 lines

  1. <?php
  2. /** @package tests */
  3. /**
  4. * This is a long comment which
  5. * needs more than one line.
  6. * This is the detailed documentation.
  7. * This is another line of detailed docs
  8. */ 
  9. function test_441289()
  10. {
  11. }
  12.  
  13. /** I started my short desc
  14. * on the first line.
  15. * This is the detailed documentation.
  16. */
  17. function test_4412892()
  18. {
  19. }
  20.  
  21. /**
  22. * I am using just the first line as my short desc
  23. * since i didn't use a period anywhere in this desc
  24. */
  25. function test_4412893()
  26. {
  27. }
  28.  
  29. /**
  30. * I am using a blank line to end my short desc
  31. *
  32. * I think this looks the nicest when writing your
  33. * code and makes the code more readable
  34. */
  35. function test_4412894()
  36. {
  37. }
  38.  
  39. /**
  40. * This is a test to see if the desc is fooled by 2.4
  41. * the short desc ends here.
  42. * This is the detailed documentation.
  43. */
  44. function test_4412895()
  45. {
  46. }
  47.  
  48. /**
  49. * This desc 
  50. * tries to fool 
  51. * the non period 
  52. * short desc systems
  53. *
  54. * junk
  55. * should only show the first line since we dont' look that far
  56. * down for the short desc line break
  57. */
  58. function test6()
  59. {
  60. }
  61.  
  62. /**
  63. * This desc tries to fool 
  64. * the non period short desc systems
  65. *
  66. * junk
  67. * junk
  68. */
  69. function test7()
  70. {
  71. }
  72.  
  73. /**
  74. * This is a test case where i think things break
  75. * extended desc
  76. * many lines of desc
  77. * many lines of desc
  78. * many lines of desc
  79. * many lines of desc
  80. * many lines of desc
  81. * many lines of desc
  82. * many lines of desc
  83. * many lines of desc
  84. * more extended desc that ends with a period.
  85. * without a line limiter everything til period. would be part of the short desc
  86. * allowing this many lines to be part of the short desc seemed like a problem to me
  87. * so now using both the period and line break as a seperator you can only have a 4
  88. * line extended desc.  the first line is usually blank since its the /** line
  89. */
  90. function test8()
  91. {
  92. }
  93.  
  94. /**
  95. * This example is really tricky
  96. *
  97. * The short desc should end on the blank line even though this line ends with a period.
  98. * Here is the long desc
  99. */
  100. function test_bug_567455()
  101. {
  102. }
  103.  
  104. /**
  105. * This example is also really tricky
  106. *
  107.  
  108. * The tries to break the parser test.
  109. * Here is the long desc
  110. */
  111. function test_bug_567455_2()
  112. {
  113. }
  114. ?>
  115.