TAILIEUCHUNG - PHP Developer's Dictionary- P36

PHP Developer's Dictionary- P36:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary Description The sprintf function returns a string made up of the arg s which have had the format applied to them. The format string is made up of zero or more directives ordinary characters excluding that are copied directly into the result along with conversion specifications each of which results in fetching its own parameter. Each conversion specification consists of these elements in order padding specifieris an optional parameter that specifies which character to use if padding is necessary to adjust the string to a larger size. The default is to pad with spaces but can also be specified as the 0 zero character . To specify an alternative padding character precede the character with a single quote . alignment specifier is an optional parameter that indicates whether the resulting string should be right- or left-justified. The default is right-justified and a - character is used to indicate left justification. width specifier is an optional number that specifies the minimum number of characters the result should contain. precision specifier is an optional parameter that specifies the number of decimal digits that should be displayed for floating-point numbers. This applies only to numbers of type double. type specifier specifies the type as which the argument should be treated. Possible types as which the argument can be treated are -Treat as a percent character. No argument is required. b-Treat as an integer and present as a binary number. c-Treat as an integer and present as the character with the corresponding ASCII value. d-Treat as an integer and present as a decimal number. f-Treat as a double and present as a floating-point number. o-Treat as an integer and present as an octal number. s-Treat and present as a string. x-Treat as an integer and present as a hexadecimal number with lowercase letters . x-Treat as an integer and present as a hexadecimal number with uppercase letters . IT-SC book 175 PHP Developer s Dictionary type .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.