实例. Parse a string: <?php. $str = "age:30 weight:60kg";. sscanf($str,"age:%d weight:%dkg",$age,$weight);. // show types and values.
確定! 回上一頁