Ticket #16839

smarty_modifier_wordwrap_i18nで長いアルファベットを入れると戻り値がおかしくなる

Open Date: 2009-05-19 21:24 Last Update: 2009-05-19 21:44

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

  • code
    $input_str = 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz';
    $actual = smarty_modifier_wordwrap_i18n($input_str, 8, '<br />');
    var_dump($actual);
    
  • result
    string(6) "<br />"
    
  • 期待する結果
    string(88) "abcdefgh<br />ijklmnop<br />qrstuvwx<br />yzabcdef<br />ghijklmn<br />opqrstuv<br />wxyz"
    

Ticket History (3/3 Histories)

2009-05-19 21:24 Updated by: maru_cc
  • New Ticket "smarty_modifier_wordwrap_i18nで長いアルファベットを入れると戻り値がおかしくなる" created
2009-05-19 21:33 Updated by: maru_cc
  • Details Updated
  • Owner Update from (None) to maru_cc
2009-05-19 21:44 Updated by: maru_cc
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2009-05-19 21:44

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login