1--TEST-- 2Test str_repeat() function: usage variations - complex strings containing other than 7-bit chars 3--INI-- 4precision=14 5--FILE-- 6<?php 7$str = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255); 8 9$withCodePoint = str_repeat($str, chr(51)); // ASCII value of '3' given 10$explicit = str_repeat($str, 3); 11 12var_dump($withCodePoint === $explicit); 13var_dump( bin2hex( $withCodePoint ) ); 14var_dump( bin2hex( $explicit ) ); 15 16?> 17DONE 18--EXPECT-- 19bool(true) 20string(42) "008081eaebfeff008081eaebfeff008081eaebfeff" 21string(42) "008081eaebfeff008081eaebfeff008081eaebfeff" 22DONE 23